15 #include <vlpi/entityType.h>
16 #include <QtWidgets/QDialog>
33 class QDoubleValidator;
55 virtual void accept()
override;
58 virtual void setupFiles();
61 virtual DtFilename defaultMovementFile()
const;
64 virtual DtEntityType defaultMissileType()
const;
67 virtual void setupFilesThatMatch(
const std::string& ext);
70 virtual std::vector<std::string> filesThatMatch(
const std::string& ext,
const DtSimulationModelSet* sms)
const;
73 virtual void setupDefaultTypesFor(
const DtEntityType&);
75 virtual void mergeMovementFilesTo(
const std::vector<std::string>&, std::map<std::string, std::string>& movementFiles)
const;
86 virtual void setFormatsFromMovementFile();
88 virtual bool inMasterSMS(DtFilename)
const;
89 virtual bool selectedInMasterSMS()
const;
90 virtual void enableInterface(
bool);
92 virtual DtFilename movementFile(
const std::string& key)
const;
95 virtual void onAddScriptedObjectMovement();
96 virtual void onRemoveScriptedObjectMovement();
97 virtual void onRenameScriptedObjectMovement();
98 virtual void onSeletScriptedMovementObject();
99 virtual void onGroundClampTypeChanged();
100 virtual void onPhaseSelected();
101 virtual void onDescriptionChanged();
102 virtual void onAddCategory();
103 virtual void onRemoveCategory();
104 virtual void onCategorySelected();
106 virtual void onAddNewMissile();
107 virtual void onAddNewMovementFile();
108 virtual void onAddNewFileConfiguration();
109 virtual void onCopyScriptedObjectMovement();
112 virtual void onAddPhase();
115 virtual void onRemovePhase();
118 virtual void onPhaseChanged();
122 virtual void onMissileTypeChanged();
128 virtual void setupScriptedMovementObjectsMap(
const std::map<std::string, std::string>&);
QLabel * myGroundClampTypeLabel
Definition: scriptedObjectMovementEditor.h:167
QLabel * myFormatLabel
Definition: scriptedObjectMovementEditor.h:163
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
QToolButton * myRemoveScriptedObjectMovement
Definition: scriptedObjectMovementEditor.h:139
QLabel * myDescriptionLabel
Definition: scriptedObjectMovementEditor.h:147
QWidget * myPhasesCanvas
Definition: scriptedObjectMovementEditor.h:159
QToolButton * myRemovePhase
Definition: scriptedObjectMovementEditor.h:155
QToolButton * myAddNewMovementFile
Definition: scriptedObjectMovementEditor.h:144
QToolButton * myRenameScriptedObjectMovement
Definition: scriptedObjectMovementEditor.h:140
List of DtComponentSystemDescriptor instances.
Definition: componentSystemDescriptorList.h:20
QLabel * myMovementFileLabel
Definition: scriptedObjectMovementEditor.h:161
QToolButton * myAddCategory
Definition: scriptedObjectMovementEditor.h:150
QLabel * myInstructions
Definition: scriptedObjectMovementEditor.h:137
QComboBox * myMovementFile
Definition: scriptedObjectMovementEditor.h:162
Instances of DtComponentDescriptorList are readable/writeable lists of DtComponentDescriptor objects...
Definition: componentDescriptorList.h:22
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
QPushButton * myCancelButton
Definition: scriptedObjectMovementEditor.h:135
std::map< std::string, std::string > myMovementFiles
Definition: scriptedObjectMovementEditor.h:181
makVrv::DtDe & myDe
Definition: scriptedObjectMovementEditor.h:207
QComboBox * myScriptedMovementObjects
Definition: scriptedObjectMovementEditor.h:146
makVrv::DtDe & myDe
Definition: scriptedObjectMovementEditor.h:184
std::vector< DtScriptedMovementFileConfiguration > MovementFileConfigurations
Definition: movementFile.h:277
QLabel * myCompletionRuleLabel
Definition: scriptedObjectMovementEditor.h:169
QToolButton * myAddPhase
Definition: scriptedObjectMovementEditor.h:154
Contains makVrv::DtVirtualBaseClass class.
bool myPrecisionMode
Definition: scriptedObjectMovementEditor.h:173
ScriptedMovementObjectsMap myScriptedMovementObjectsMap
Definition: scriptedObjectMovementEditor.h:176
QComboBox * myMissileType
Definition: scriptedObjectMovementEditor.h:166
QLabel * myScriptedMovementObjectsLabel
Definition: scriptedObjectMovementEditor.h:145
QToolButton * myRemoveCategory
Definition: scriptedObjectMovementEditor.h:151
QLabel * myPhasesLabel
Definition: scriptedObjectMovementEditor.h:156
QComboBox * myPhases
Definition: scriptedObjectMovementEditor.h:157
QToolButton * myAddScriptedObjectMovement
Definition: scriptedObjectMovementEditor.h:138
QLineEdit * myDescription
Definition: scriptedObjectMovementEditor.h:148
This class will allow for the adding, modifying or removing of scripted object files that will contai...
Definition: scriptedObjectMovementEditor.h:45
ScriptedMovementObjectsMap myScriptedObjectMovementsToRemove
Definition: scriptedObjectMovementEditor.h:177
QGridLayout * myPhasesLayout
Definition: scriptedObjectMovementEditor.h:158
QComboBox * myFormat
Definition: scriptedObjectMovementEditor.h:164
QPushButton * myOKButton
Definition: scriptedObjectMovementEditor.h:134
The DtScriptedMovementObject will contain information about an object that can be used for scripted m...
Definition: scriptedMovementObject.h:38
The DtScriptedMovementObject will contain information about an object that can be used for scripted m...
Definition: movementFile.h:36
A simulation model set contains all the information that can be used to support a scenario either for...
Definition: simulationModelSet.h:31
Creator for the canvas.
Definition: scriptedObjectMovementEditor.h:188
QToolButton * myAddNewMissile
Definition: scriptedObjectMovementEditor.h:142
QToolButton * myAddNewFileConfiguration
Definition: scriptedObjectMovementEditor.h:143
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
QComboBox * myCompletionRule
Definition: scriptedObjectMovementEditor.h:170
QComboBox * myGroundClampType
Definition: scriptedObjectMovementEditor.h:168
std::map< std::string, std::string > myMasterSMSMovementFiles
Map is filename without extension and the file path. Assuming same file names are replacements if app...
Definition: scriptedObjectMovementEditor.h:180
QListWidget * myCategories
Definition: scriptedObjectMovementEditor.h:152
std::map< std::string, DtScriptedMovementObject > ScriptedMovementObjectsMap
Definition: scriptedObjectMovementEditor.h:175
std::vector< DtEntityType > myMissileTypes
Definition: scriptedObjectMovementEditor.h:182
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
QLabel * myCategoriesLabel
Definition: scriptedObjectMovementEditor.h:149
QToolButton * myCopyScriptedObjectMovement
Definition: scriptedObjectMovementEditor.h:141
QLabel * myMissileTypeLabel
Definition: scriptedObjectMovementEditor.h:165