![]() |
VR-Forces Developer's Guide
|
Visualizer for tactical smoke received with an enviromental process. This receives it's information from a DtSmokeStateListener (which in turn is populated from a control object state repository). This visualizer only uses the puff locations from that listener. All other modelling of the movement, density, etc. of the smoke puffs are managed but the particle system that is specified in the model definition. The model definition mustreference a new-style fx particle system.

Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Member Functions | |
| virtual void | createModelAgents () |
| virtual void | destroyModelAgents () |
| virtual void | initializeSmokeModel () |
| virtual void | setModelDefinitionForAgents () |
| virtual void | setInitialValuesFromVisualizerDefinition () override |
| DtSmokeStateListener & | smokeStateListener () |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| virtual void | connectToListenerSignals () |
| virtual void | makeVisible () |
| virtual bool | isVisible () const |
| template<typename T , typename C > | |
| void | connectAndUpdate (boost::signalslib::signal< void(T)> &sig, void(C::*fp)(T), T val) |
Protected Attributes | |
| DtSceneObjectAgent * | myTemporarySceneObjectAgent |
| DtTacticalSmokeModelAgent * | mySmokeModel |
| double | myDeleteDelay |
| double | myColorRed |
| double | myColorGreen |
| double | myColorBlue |
Protected Attributes inherited from makVrv::DtStateVisualizer | |
| DtBaseConnection & | mySimulation |
| DtStateListener & | myListener |
| bool | myDistributeFlag |
| DtUniqueID | mySceneObjectID |
| std::string | myName |
| std::string | myModelDefinition |
| DtSignalConnectionManager | myConnections |
| DtModelSetId | myModelSet |
| int | myVisualizerType |
| bool | myPickable |
| bool | myVisible |
| const DtVisualizerDefinition * | myVisualizerDefinition |
| DtSceneObjectAgent * | mySceneObjectAgent |
| bool | myInitialInitializeDone |
| ShowHideContextVector | myVisualizerShowHideContexts |
Private Member Functions | |
| DtTacticalSmokeVisualizer () | |
| DtTacticalSmokeVisualizer (const DtTacticalSmokeVisualizer &) | |
| DtTacticalSmokeVisualizer & | operator= (const DtTacticalSmokeVisualizer &) |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, UserType = 10000 } |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::DtTacticalSmokeVisualizer::DtTacticalSmokeVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| DtModelSetId | modelSet | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Default constructor.
|
private |
Copy constructor.
|
virtual |
Set the location of this tactical smoke puff.
|
virtual |
The instance's type info.
Implements makVrv::DtStateVisualizer.
|
static |
This class's type info.
|
protectedvirtual |
Creates the scene-object, updater and model agents to visualize.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
Destroys the scene-object, updater and model agents.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
|
protectedvirtual |
Sets the model-definition for the model agents.
Implements makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Sets member variables from the visualizer definition if they exist Should not call this directly. Called by DtStateVisualizer::initialize.
Reimplemented from makVrv::DtStateVisualizer.
|
protected |
|
private |
Assignment Operator.
|
protected |
This visualizer requires its own scene object for temporary effects. This scene object can be passed to the tempory agent manager. Do not hand mySceneObjectAgent to the tempory agent manager. mySceneObjectAgent is shared for ALL visualizers of a given model set, and is managed/owned by the element or visualizer set that created the visualizer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |