![]() |
VR-Forces 4.7 Class Documentation
|

Public Slots | |
| virtual void | setSnapToGrid (bool) |
Public Slots inherited from DtEditingWindow | |
| virtual void | setShowBoundingBoxes (bool) |
Signals | |
| void | edit () |
| void | expand () |
| void | collapse () |
| void | setFormation () |
| void | formationModified () |
Public Member Functions | |
| DtFormationEditor (makVrv::DtDe &, QWidget *p) | |
| CTOR. | |
| DtFormationEditor (makVrv::DtDe &) | |
| Create an editor without a window. Can be used to seed hierarchies. | |
| virtual | ~DtFormationEditor () |
| virtual void | setFormation (const QString &) |
| Sets the formation. If formation table is also set, redisplays the entities in new formation. | |
| virtual void | init (const DtObjectType &) |
| virtual void | setFormationTable (DtFormationTable *) |
| Sets the formation table. Will reset the entities if there is a formation set. | |
| virtual void | reworkOffsetsToStandAlone (DtFormation *) |
| virtual void | reworkAsOffsetToLeader (DtFormation *) |
| virtual void | removeFormationEntry (DtFormationEntry *) |
| Removes the formation entry and updates the display. | |
| virtual void | addObjectTypeAtPosition (DtVrfSubObjectParameterEntry *entry, int pos, bool addAtPos=true) |
| Adds a new item to be edited at the specified position. | |
| virtual void | replaceObjectInFormation (int iPos) |
| virtual DtFormationEntry * | selectedFormationEntry () const |
| virtual void | repositionInFormation (DtFormation *, int iFrom, int iTo) |
| virtual void | repositionInFormation (int iFrom, int iTo) |
| virtual DtExtent | extent () const |
| Returns the root node extent. | |
| virtual int | promotionIdAt (int) const |
| Returns the promotion id at the given index of child of the root node. | |
| virtual int | numTopLevelChildren () const |
| Number of top level children (count of subordinate list) | |
| virtual void | createDisplayHierarchy () |
| virtual void | createSubordinateObjects (DtFormationNode *parent, const DtVrfSubObjectParameterEntry *, int level) |
| Creates objects based on the subordiante... | |
| virtual void | collapseAllOneLevel () |
| virtual void | expandAllOneLevel () |
| virtual bool | canExpand () const |
| Returns true if there is more to be expanded from any subordinate. | |
| virtual bool | snapToGrid () const |
| virtual DtVector | snapToGrid (const DtVector &local) const |
| Returns a location that is snapped to the grid. | |
Public Member Functions inherited from DtEditingWindow | |
| DtEditingWindow (makVrv::DtDe &, QWidget *p) | |
| CTOR. | |
| DtEditingWindow (makVrv::DtDe &) | |
| Create an editing window without the inset window. | |
| virtual | ~DtEditingWindow () |
| bool | showBoundingBoxes () const |
| virtual void | setViewModeCombo (QComboBox *) |
| virtual void | setForceId (DtForceType id) |
| Sets internal variable and all existing model data to force type (as well as marking all the data for update) | |
| virtual void | resetToGlobalView () |
| virtual void | toggleBoundingBoxes () |
| virtual int | numChildren () |
| virtual void | disable () |
| virtual void | turnOnGridLines (bool) |
| virtual DtObjectType | selectedObjectType () const |
| virtual void | cleanupFacades () |
Protected Types | |
| typedef std::map< const DtVrfSubObjectParameterEntry *, makVrv::DtUniqueID > | EntryToIdMap |
| typedef std::map< const DtVrfSubObjectParameterEntry *, DtVrfSubObjectParameterList > | EntryToSubordinatesMap |
Protected Types inherited from DtEditingWindow | |
| typedef std::map < makVrv::DtUniqueID, makVrf::DtVrfObjectFacadeInterface * > | EntityMap |
Protected Member Functions | |
| virtual void | updateFacade (makVrv::DtUniqueID id, const makVrv::DtVrlinkSimulatedEntityState *state, bool propagateChanges=true) |
| virtual void | setupFormation () |
| Does the work of laying out the entities and setting the canvas to the correct formation size. | |
| virtual void | remove (DtFormationNode *) |
| virtual void | initializeFacade (makVrf::DtVrfObjectFacadeInterface *) |
| virtual void | slot_onStateViewUpdated (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
| virtual void | editing (makVrv::DtUniqueID) |
Protected Member Functions inherited from DtEditingWindow | |
| virtual void | timedResetToGlobalView () |
Protected Attributes | |
| DtFormationTable * | myFormationTable |
| QString | myFormation |
| DtVrfSubObjectParameterList | mySubordinateList |
| DtObjectType | myObjectType |
| makVrf::DtEntityFacadeCollection * | myRootDisplayNode |
| bool | myUpdating |
| DtFormationNode * | myRootNode |
| bool | mySnapToGrid |
| EntryToIdMap | myEntryToIdMap |
| EntryToSubordinatesMap | myEntryToSubordinatesMap |
| makVrv::DtUniqueID | myEditing |
| int | myTimeToUpdate |
Protected Attributes inherited from DtEditingWindow | |
| DtForceType | myForceId |
| EntityMap | myDisplayObjects |
| makVrv::DtDe * | myEditingWindowDe |
| DtDisplayWidget * | myEditingWindowWidget |
| bool | myShowBoundingBoxes |
| makVrv::DtDe & | myDe |
Additional Inherited Members | |
Static Public Member Functions inherited from DtEditingWindow | |
| static void | initialize () |
Protected Slots inherited from DtEditingWindow | |
| virtual void | changeViewMode () |
|
protected |
|
protected |
| DtFormationEditor::DtFormationEditor | ( | makVrv::DtDe & | , |
| QWidget * | p | ||
| ) |
CTOR.
| DtFormationEditor::DtFormationEditor | ( | makVrv::DtDe & | ) |
Create an editor without a window. Can be used to seed hierarchies.
|
virtual |
|
virtual |
Sets the formation. If formation table is also set, redisplays the entities in new formation.
|
virtual |
|
virtual |
Sets the formation table. Will reset the entities if there is a formation set.
|
virtual |
|
virtual |
|
virtual |
Removes the formation entry and updates the display.
|
virtual |
Adds a new item to be edited at the specified position.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns the root node extent.
Returns the promotion id at the given index of child of the root node.
|
virtual |
Number of top level children (count of subordinate list)
|
virtual |
|
virtual |
Creates objects based on the subordiante...
|
virtual |
|
virtual |
|
virtual |
Returns true if there is more to be expanded from any subordinate.
|
virtual |
Returns a location that is snapped to the grid.
|
protectedvirtual |
|
protectedvirtual |
Does the work of laying out the entities and setting the canvas to the correct formation size.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
virtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |