![]() |
VR-Forces 4.1.1 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...

Classes | |
| struct | Column |
| struct | Phase |
Public Member Functions | |
| DtScriptedObjectMovementEditor (QWidget *parent, const Qt::WindowFlags &flags=Qt::Tool) | |
| virtual | ~DtScriptedObjectMovementEditor () |
Static Public Member Functions | |
| static DtScriptedObjectMovementEditor * | create (QWidget *p=NULL) |
Protected Types | |
| typedef std::map< std::string, DtScriptedMovementObject > | ScriptedMovementObjectsMap |
| typedef std::vector< Column > | Columns |
| typedef std::vector< Phase > | Phases |
Protected Slots | |
| virtual void | onAddScriptedObjectMovement () |
| virtual void | onRemoveScriptedObjectMovement () |
| virtual void | onRenameScriptedObjectMovement () |
| virtual void | onSeletScriptedMovementObject () |
| virtual void | onColumnChanged () |
| Called when the configuration column contents have changed. | |
| virtual void | onStartRowChanged () |
| Called when the stat row has changed. | |
| virtual void | onAddPhase () |
| Called to add a new phase to the configuration. | |
| virtual void | onRemovePhase () |
| Called to remove the selected phase from the configuration. | |
| virtual void | onPhaseChanged () |
| Called when the phase contents have changed. | |
| virtual void | onMovementFileChanged () |
| Called when the user selects a new movement file. | |
| virtual void | onMissileTypeChanged () |
| Called when missile type is changed. | |
Protected Member Functions | |
| virtual void | accept () |
| Called when dialog is accepted. Write out all changes. | |
| virtual void | setupFiles () |
| Called from constructor. Sets up the files available. | |
| virtual DtFilename | defaultMovementFile () const |
| Returns the default movement file to use. Simply the first file found. | |
| virtual DtEntityType | defaultMissileType () const |
| Returns the default missile type. Simply the first one discovered. | |
| 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. | |
| 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. | |
| virtual DtComponentDescriptor * | findFromSystem (const DtComponentSystemDescriptorList *) const |
| Sees if the scripted movement controller exists in any system. | |
| virtual DtComponentDescriptor * | findFromComponents (const DtComponentDescriptorList *) const |
| Sees if the scripted movement controller is in the components list. | |
| virtual void | addColumn () |
| Adds a new column. Currently only 4 columns supported. | |
| virtual void | changeColumn (int) |
| Changes column to match current information. | |
| virtual void | setColumn (int col, int columnInFile, const std::string &type, const std::string &unit) |
| Sets the data for the particular column. | |
| virtual void | addPhase (const DtScriptedMovementPhase &) |
| Adds a new phase into the phase tree widget. | |
Protected Attributes | |
| ScriptedMovementObjectsMap | myScriptedMovementObjectsMap |
| ScriptedMovementObjectsMap | myScriptedObjectMovementsToRemove |
| makVrv::DtDe & | myDe |
| std::vector< std::string > | myMovementFiles |
| std::vector< DtEntityType > | myMissileTypes |
| Columns | myColumns |
| Phases | myPhasesVector |
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 |
|
protected |
|
protected |
| DtScriptedObjectMovementEditor::DtScriptedObjectMovementEditor | ( | QWidget * | parent, |
| const Qt::WindowFlags & | flags = Qt::Tool |
||
| ) |
|
virtual |
|
static |
|
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 column. Currently only 4 columns supported.
|
protectedvirtual |
Changes column to match current information.
|
protectedvirtual |
Sets the data for the particular column.
|
protectedvirtual |
Adds a new phase into the phase tree widget.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Called when the configuration column contents have changed.
|
protectedvirtualslot |
Called when the stat row has changed.
|
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 the user selects a new movement file.
If Add... is select allows user to select new file
|
protectedvirtualslot |
Called when missile type is changed.
If Add... is selected allows user to create a new missile type for scripted movement
| QPushButton* DtScriptedObjectMovementEditor::myOKButton |
| QPushButton* DtScriptedObjectMovementEditor::myCancelButton |
| QLabel* DtScriptedObjectMovementEditor::myInstructions |
| QPushButton* DtScriptedObjectMovementEditor::myAddScriptedObjectMovement |
| QPushButton* DtScriptedObjectMovementEditor::myRemoveScriptedObjectMovement |
| QPushButton* DtScriptedObjectMovementEditor::myRenameScriptedObjectMovement |
| QLabel* DtScriptedObjectMovementEditor::myScriptedMovementObjectsLabel |
| QComboBox* DtScriptedObjectMovementEditor::myScriptedMovementObjects |
| QLabel* DtScriptedObjectMovementEditor::myConfigurationLabel |
| QFrame* DtScriptedObjectMovementEditor::myConfigurationSeparator |
| QLabel* DtScriptedObjectMovementEditor::myStartRowLabel |
| QLineEdit* DtScriptedObjectMovementEditor::myStartRow |
| QIntValidator* DtScriptedObjectMovementEditor::myValidator |
| QWidget* DtScriptedObjectMovementEditor::myConfiguration |
| QPushButton* DtScriptedObjectMovementEditor::myAddPhase |
| QFrame* DtScriptedObjectMovementEditor::myPhaseSeparator |
| QLabel* DtScriptedObjectMovementEditor::myPhasesLabel |
| QTreeWidget* DtScriptedObjectMovementEditor::myPhases |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |