![]() |
VR-Forces 5.0.2 Developer's Guide
|
A single tactical graphic element. A tactical graphic element may be visualized using multiple visualizer sets one per model set.

Classes | |
| struct | DtTacticalGraphicObjectStruct |
Public Types | |
| using | ModelSetToTacticalGraphicObjectMap = boost::unordered_map< int, DtTacticalGraphicObjectStruct * > |
Public Types inherited from makVrv::DtElement | |
| using | ModelSetToSceneObjectIdMap = boost::unordered_map< DtObserverMode::ModelSets, DtUniqueID > |
Static Public Member Functions | |
| static const DtElementEntry::ElementType | theElementType () |
| using makVrv::DtTacticalGraphicElement::ModelSetToTacticalGraphicObjectMap = boost::unordered_map<int, DtTacticalGraphicObjectStruct*> |
| makVrv::DtTacticalGraphicElement::DtTacticalGraphicElement | ( | DtBaseConnection & | conn, |
| DtStateListener & | listener | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed - equals operator
|
overridevirtual |
Visualize the element.
Reimplemented from makVrv::DtElement.
Reimplemented in makVrv::DtVertexTacticalGraphicElement, makVrv::DtShapeTacticalGraphicElement, and makVrv::DtPointTacticalGraphicElement.
|
overridevirtual |
Sets the particular model set up. Does nothing if it already exists. This method does a large portion of entity creation. It creates the sceneObject agent, the visualizer set, and kinematic state object for a model set. It sets information from the visualizer definition on the kin state, and then calls updateVisibilityState If the model set is disabled it will delete the pointers and the stuct in myModelSetToEntityObjectMap.
Implements makVrv::DtElement.
|
virtual |
|
virtual |
|
inline |
Find all visualizers Note this is for all model sets.
References myModelSetToTacticalGraphicObjectMap.
|
inline |
Find all visualizers in all model sets if they satisfy the dynamic_cast to the VizualizerClass.
References myModelSetToTacticalGraphicObjectMap.
|
overridevirtual |
Set the element to be visible.
Reimplemented from makVrv::DtElement.
|
virtual |
Get the current model set map.
|
virtual |
Model set object accessors.
|
virtual |
Model set object accessors.
|
virtual |
Model set object accessors.
|
virtual |
Model set object accessors.
|
virtual |
Get the listener for the entity this visualizer is visualizing.
|
overridevirtual |
Returns the element type, in this case tactical graphic.
Implements makVrv::DtElement.
Reimplemented in makVrv::DtVertexTacticalGraphicElement, makVrv::DtShapeTacticalGraphicElement, and makVrv::DtPointTacticalGraphicElement.
|
static |
|
virtual |
Used to set the elements subtype, which is used to determine force type in the object list panel.
|
virtual |
Create a DtEnvironmentalKinematicState object Shape and Vertex elements override this method to create derived types.
Reimplemented in makVrv::DtShapeTacticalGraphicElement, makVrv::DtVertexTacticalGraphicElement, and makVrv::DtPointTacticalGraphicElement.
|
virtual |
PickableSet pickable for all model sets.
Set pickable for a specific model set.
|
virtual |
Scene Object Unique IDs.
Get the IDs for all the scene objects in this element There is one scene object per model set
|
virtual |
Get the ID of a scene object for a specific model set.
Set the kind and category for later identification of this tactical.
|
protected |
Report that element kind/category was updated.
|
protectedvirtual |
Called when the listener indicates the element has become visible or not.
|
protected |
|
protected |
Referenced by findVisualizers(), and findVisualizersByDynamicCast().
|
protected |