![]() |
VR-Forces Developer's Guide
|
Protocol independent search light visualizer.

Classes | |
| struct | SearchLightStruct |
Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Types | |
| using | SearchLightListenerToStructMap = std::unordered_map< const DtSearchLightStateListener *, SearchLightStruct > |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
Protected Attributes | |
| DtEntityStateListener * | myEntityStateListener |
| SearchLightListenerToStructMap | mySearchLightsMap |
Protected Attributes inherited from makVrv::DtStateVisualizer | |
| DtBaseConnection & | mySimulation |
| DtStateListener & | myListener |
| DtUniqueID | mySceneObjectID |
| std::string | myName |
| std::string | myModelDefinition |
| DtSignalConnectionManager | myConnections |
| DtModelSetId | myModelSet |
| int | myVisualizerType |
| bool | myDistributeFlag |
| bool | myPickable |
| bool | myVisible |
| bool | myInitialInitializeDone |
| const DtVisualizerDefinition * | myVisualizerDefinition |
| DtSceneObjectAgent * | mySceneObjectAgent |
| ShowHideContextVector | myVisualizerShowHideContexts |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, SoundInteractionVisualizerType, UserType = 10000 } |
|
protected |
| makVrv::DtSearchLightVisualizer::DtSearchLightVisualizer | ( | DtBaseConnection & | sim, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| DtModelSetId | modelSet | ||
| ) |
CTOR Instantiates a new search light visualizer.
| sim | the DtBaseConnection this visualizer will use |
| listener | the DtEntityStateListener for this visualizer's entity |
| sceneObject | The scene object agent this visualizer is associated with. |
| modelSet | the model set this visualizer belongs to |
|
virtual |
DTOR Cleans up the model agents associated with this visualizer.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
delete |
Not allowed.
|
virtual |
Implements makVrv::DtStateVisualizer.
|
virtual |
Detaches all model agents from the scene object agent and deletes them.
Implements makVrv::DtStateVisualizer.
|
virtual |
Accessor for the instance's type info.
Implements makVrv::DtStateVisualizer.
|
static |
Accessor for the class's type info.
|
protectedvirtual |
Sets the model definition on all instantiated models.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
Finds the SearchLightStruct for the given listener Finds the SearchLightStruct indexed with the given listener and returns it.
|
protectedvirtual |
Registers the search light Field of View with this visualizer and connects to its signals.
| listener | the state listener for the search light Field of View to register |
|
protectedvirtual |
Connects to state change signals through a connection manager Creates a new DtSignalConnectionManager to handle signal connections to the given listener and returns it.
| listener | the state listener for the search light Field of View |
|
protectedvirtual |
Destroys the visualization for the given search light Field of View listener Destroys the search light Field of View visualization model agent, unregisters the listener, and stops listening to changes signaled by the listener.
|
protectedvirtual |
Creates a search light visualization. Checks if a visualization already exists, and creates one if not.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Non-const for signal connection.
|
protectedvirtual |
Creates a light model for the search light.
| listener | the state listener for the search light |
| searchLightStruct | the struct containing the search light's visualization data |
|
protectedvirtual |
Updates the light model for the search light.
| listener | the state listener for the search light |
| searchLightStruct | the struct containing the search light's visualization data (if known) |
|
protectedvirtual |
Creates an attachable updater for the search light.
| listener | the state listener for the search light |
| searchLightStruct | the struct containing the search light's visualization data |
|
protectedvirtual |
Updates the attachable updater or calls setOrientation for the search light.
| listener | the state listener for the search light |
| searchLightStruct | the struct containing the search light's visualization data (if known) |
|
overrideprotectedvirtual |
Connects the visualizer to DtEntityStateListener signals Connects to signal_searchLightListenerAdded and signal_searchLightListenerRemoved.
Reimplemented from makVrv::DtStateVisualizer.
|
protectedvirtual |
Cleans up a SearchLightStruct.
|
protected |
|
protected |