![]() |
VR-Forces 4.10 Class Documentation
|
This class will allow for the adding, modifying or removing of scripted object files that will contain rules to move an object towards a target point. More...

Public Member Functions | |
| DtScriptedObjectMovementEditor (makVrv::DtDe &de, bool precisionMode, QWidget *parent, const Qt::WindowFlags &flags=Qt::Tool) | |
| virtual | ~DtScriptedObjectMovementEditor () |
Protected Types | |
| typedef std::map< std::string, DtScriptedMovementObject > | ScriptedMovementObjectsMap |
Protected Slots | |
| virtual void | onAddScriptedObjectMovement () |
| virtual void | onRemoveScriptedObjectMovement () |
| virtual void | onRenameScriptedObjectMovement () |
| virtual void | onSeletScriptedMovementObject () |
| virtual void | onGroundClampTypeChanged () |
| virtual void | onPhaseSelected () |
| virtual void | onDescriptionChanged () |
| virtual void | onAddCategory () |
| virtual void | onRemoveCategory () |
| virtual void | onCategorySelected () |
| virtual void | onCategoryChanged (QListWidgetItem *) |
| virtual void | onAddNewMissile () |
| virtual void | onAddNewMovementFile () |
| virtual void | onAddNewFileConfiguration () |
| virtual void | onAddPhase () |
| Called to add a new phase to the configuration. More... | |
| virtual void | onRemovePhase () |
| Called to remove the selected phase from the configuration. More... | |
| virtual void | onPhaseChanged () |
| Called when the phase contents have changed. More... | |
| virtual void | onMissileTypeChanged () |
| Called when missile type is changed. More... | |
| virtual std::string | configurationThatMatches (const DtScriptedMovementFileConfiguration &, QString nameIfMissing) |
| Return the configuration (from the configurations file) that matches the given configuration. More... | |
Protected Member Functions | |
| virtual void | accept () |
| Called when dialog is accepted. Write out all changes. More... | |
| virtual void | setupFiles () |
| Called from constructor. Sets up the files available. More... | |
| virtual DtFilename | defaultMovementFile () const |
| Returns the default movement file to use. Simply the first file found. More... | |
| virtual DtEntityType | defaultMissileType () const |
| Returns the default missile type. Simply the first one discovered. More... | |
| std::vector< std::string > | filesThatMatch (const std::string &ext) const |
| Returns a list of files in the scripted movement directory that have the given extension. More... | |
| virtual void | setupDefaultTypesFor (const DtEntityType &) |
| Sets up default types for the type given. Entity types must match the given type and have a script controller. More... | |
| virtual DtComponentDescriptor * | findFromSystem (const DtComponentSystemDescriptorList *) const |
| Sees if the scripted movement controller exists in any system. More... | |
| virtual DtComponentDescriptor * | findFromComponents (const DtComponentDescriptorList *) const |
| Sees if the scripted movement controller is in the components list. More... | |
| virtual void | addPhase (const DtScriptedMovementPhase &) |
| Adds a new phase into the phase tree widget. More... | |
| virtual void | setFormatsFromMovementFile () |
Protected Attributes | |
| bool | myPrecisionMode |
| ScriptedMovementObjectsMap | myScriptedMovementObjectsMap |
| ScriptedMovementObjectsMap | myScriptedObjectMovementsToRemove |
| std::vector< std::string > | myMovementFiles |
| std::vector< DtEntityType > | myMissileTypes |
| makVrv::DtDe & | myDe |
This class will allow for the adding, modifying or removing of scripted object files that will contain rules to move an object towards a target point.
Only objects that have the scripted-movement-controller will be allowed to be used as objects that can be moved
|
protected |
| DtScriptedObjectMovementEditor::DtScriptedObjectMovementEditor | ( | makVrv::DtDe & | de, |
| bool | precisionMode, | ||
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = Qt::Tool |
||
| ) |
|
virtual |
|
protectedvirtual |
Called when dialog is accepted. Write out all changes.
|
protectedvirtual |
Called from constructor. Sets up the files available.
|
protectedvirtual |
Returns the default movement file to use. Simply the first file found.
|
protectedvirtual |
Returns the default missile type. Simply the first one discovered.
|
protected |
Returns a list of files in the scripted movement directory that have the given extension.
|
protectedvirtual |
Sets up default types for the type given. Entity types must match the given type and have a script controller.
|
protectedvirtual |
Sees if the scripted movement controller exists in any system.
|
protectedvirtual |
Sees if the scripted movement controller is in the components list.
|
protectedvirtual |
Adds a new phase into the phase tree widget.
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Called to add a new phase to the configuration.
|
protectedvirtualslot |
Called to remove the selected phase from the configuration.
|
protectedvirtualslot |
Called when the phase contents have changed.
|
protectedvirtualslot |
Called when missile type is changed.
If Add... is selected allows user to create a new missile type for scripted movement
|
protectedvirtualslot |
Return the configuration (from the configurations file) that matches the given configuration.
If one does not exist create on
| QPushButton* DtScriptedObjectMovementEditor::myOKButton |
| QPushButton* DtScriptedObjectMovementEditor::myCancelButton |
| QLabel* DtScriptedObjectMovementEditor::myInstructions |
| QPushButton* DtScriptedObjectMovementEditor::myAddScriptedObjectMovement |
| QPushButton* DtScriptedObjectMovementEditor::myRemoveScriptedObjectMovement |
| QPushButton* DtScriptedObjectMovementEditor::myRenameScriptedObjectMovement |
| QPushButton* DtScriptedObjectMovementEditor::myAddNewMissile |
| QPushButton* DtScriptedObjectMovementEditor::myAddNewFileConfiguration |
| QPushButton* DtScriptedObjectMovementEditor::myAddNewMovementFile |
| QLabel* DtScriptedObjectMovementEditor::myScriptedMovementObjectsLabel |
| QComboBox* DtScriptedObjectMovementEditor::myScriptedMovementObjects |
| QLabel* DtScriptedObjectMovementEditor::myDescriptionLabel |
| QLineEdit* DtScriptedObjectMovementEditor::myDescription |
| QLabel* DtScriptedObjectMovementEditor::myCategoriesLabel |
| QPushButton* DtScriptedObjectMovementEditor::myAddCategory |
| QPushButton* DtScriptedObjectMovementEditor::myRemoveCategory |
| QListWidget* DtScriptedObjectMovementEditor::myCategories |
| QPushButton* DtScriptedObjectMovementEditor::myAddPhase |
| QPushButton* DtScriptedObjectMovementEditor::myRemovePhase |
| QLabel* DtScriptedObjectMovementEditor::myPhasesLabel |
| QComboBox* DtScriptedObjectMovementEditor::myPhases |
| QGridLayout* DtScriptedObjectMovementEditor::myPhasesLayout |
| QWidget* DtScriptedObjectMovementEditor::myPhasesCanvas |
| QLabel* DtScriptedObjectMovementEditor::myMovementFileLabel |
| QComboBox* DtScriptedObjectMovementEditor::myMovementFile |
| QLabel* DtScriptedObjectMovementEditor::myFormatLabel |
| QComboBox* DtScriptedObjectMovementEditor::myFormat |
| QLabel* DtScriptedObjectMovementEditor::myMissileTypeLabel |
| QComboBox* DtScriptedObjectMovementEditor::myMissileType |
| QLabel* DtScriptedObjectMovementEditor::myGroundClampTypeLabel |
| QComboBox* DtScriptedObjectMovementEditor::myGroundClampType |
| QLabel* DtScriptedObjectMovementEditor::myCompletionRuleLabel |
| QComboBox* DtScriptedObjectMovementEditor::myCompletionRule |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |