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

Classes | |
| struct | DtEntityObjectStruct |
Public Types | |
| using | ModelSetToEntityObjectMap = boost::unordered_map< int, DtEntityObjectStruct * > |
Public Types inherited from makVrv::DtElement | |
| using | ModelSetToSceneObjectIdMap = boost::unordered_map< DtObserverMode::ModelSets, DtUniqueID > |
Static Public Member Functions | |
| static const DtElementEntry::ElementType | theElementType () |
Protected Attributes | |
| DtEntityStateListener & | myListener |
| ModelSetToEntityObjectMap | myModelSetToEntityObjectMap |
| DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrv::DtElement | |
| DtAgentManagerInterface & | mySceneInterface |
| DtSharedSettingsManager & | mySettingsManager |
| const DtVisualizerCreationSettings::VisualTypeVisualizerCreationMap & | myVisualTypeVisualizerCreationMap |
| DtBaseConnection & | myBaseConnection |
| DtElementID | myElementId |
| DtUnicode | myElementDefinitionName |
| const DtElementDefinitionNew * | myElementDefinition |
| std::string | myDisplayUnitCollectionName |
| std::string | myConnectionObjectID |
| std::string | myConnectionObjectType |
| std::string | myDisplayName |
| std::string | myElementOverlayName |
| std::string | myDriverType |
| DtElementAttributes::ElementSubtypes | myElementSubtype |
| EntityStateListener::DamageState | myDamageState |
| bool | myElementVisible |
| bool | myElementReported |
| bool | myDistribute |
| ModelSetToSceneObjectIdMap | myModelSetToSceneObjectIdMap |
| using makVrv::DtEntityElement::ModelSetToEntityObjectMap = boost::unordered_map<int, DtEntityObjectStruct*> |
| makVrv::DtEntityElement::DtEntityElement | ( | 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 makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfVrlinkEntityElement, makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfVrlinkAggregateElement, makVrv::DtAggregateElement, makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateElement, and makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityElement.
|
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.
Reimplemented in makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfVrlinkAggregateElement, and makVrv::DtAggregateElement.
|
virtual |
Set the entity element to be visible.
Reimplemented from makVrv::DtElement.
|
virtual |
Get the current model set map.
|
inline |
Find all visualizers Note this is for all model sets.
References myModelSetToEntityObjectMap.
|
inline |
Find all visualizers in all model sets if they satisfy the dynamic_cast to the VizualizerClass.
References myModelSetToEntityObjectMap.
|
virtual |
Get the listener for the entity this visualizer is visualizing.
|
overridevirtual |
Returns the element type, in this case entity.
Implements makVrv::DtElement.
Reimplemented in makVrv::DtAggregateElement.
|
static |
|
virtual |
Goes through model set map and updates visibility state for each visualizer.
|
virtual |
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateElement.
|
virtual |
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateElement.
|
virtual |
Model set object accessors.
|
virtual |
Model set object accessors.
|
virtual |
Model set object accessors.
|
virtual |
Model set object accessors.
|
virtual |
Smoothing.
This sets smoothing for all model sets
Set Smoothing for a specific model set.
|
virtual |
Ground clampingThis sets ground clamping for all model sets.
|
virtual |
Set ground clamping for a specific model set.
|
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.
|
protectedvirtual |
Called when the listener indicates the element has become visible or not.
|
protectedvirtual |
Create an entity kinematic state.
|
protectedvirtual |
Process any element parameters for this entity.
|
protected |
|
protected |
Referenced by findVisualizers(), and findVisualizersByDynamicCast().
|
protected |