VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
editSpawnPointDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
12 
13 #if !defined(Q_MOC_RUN)
14 #include "vrfmsgs/rwSpawnData.h"
15 #endif
16 
18 
19 class DtSimMessage;
20 
27 namespace makVrf
28 {
30  {
31 
32  Q_OBJECT
33 
34  public:
35 
37  DtEditSpawnPointDialog(makVrv::DtDe& de, QWidget* parent, const QString& title="", DtDialogInteractionMode mode=DtCreationMode);
38 
40  virtual ~DtEditSpawnPointDialog() override;
41 
42  virtual void init(const DtEntityType&, DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode) override;
43  virtual const DtRwSpawnData& spawnData() const;
44 
45  protected:
46  virtual void processSpawnData(DtSimMessage* rsp);
47  virtual void displaySpawnPointParameters(bool canEdit);
48 
49  protected slots:
50 
51  virtual void slot_onEditTemplateButtonClicked();
52 
54  virtual void slot_editSpawnPoint(DtRwSpawnData & spawnData);
55 
57  virtual void slot_editSpawnTemplate(DtRwSpawnData & spawnData);
58 
59  protected:
62  };
63 
65  {
66  public:
67  virtual makVrf::DtCreateAndEditObjectDialogInterface* createDialog(makVrv::DtDe& de, QWidget* parent,
69  };
70 }
71 
This class defines the dialog that allows the creation/update of point objects in the scenario (entit...
Definition: pointObjectDefinitionDialog.h:40
QPushButton * myEditTemplateButton
Definition: editSpawnPointDialog.h:61
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Definition: createAndEditObjectDialogInterface.h:27
DtRwSpawnData mySpawnData
Definition: editSpawnPointDialog.h:60
Base library for data that is used to control how spawn points generate entities. This data structure...
Definition: rwSpawnData.h:37
File: simMsg.h.
Definition: simMessage.h:35
DtDialogInteractionMode
Definition: createAndEditObjectDialogInterface.h:32
Definition: editSpawnPointDialog.h:64
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
const char int mode
Definition: ioapi.h:38
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Definition: pointObjectDefinitionDialog.h:391
Definition: editSpawnPointDialog.h:29

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)