![]() |
VR-Forces 5.0.3 Developer's Guide
|
Displays a detonation line from the shooter to the detonation location and an icon at the detonation location. This class creates its own scene object agent, and then passes it off to the temporary effects manager.

Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Member Functions | |
| virtual void | createModelAgents () |
| virtual void | destroyModelAgents () |
| virtual void | connectToListenerSignals () override |
| virtual void | setInitialValuesFromVisualizerDefinition () override |
| virtual void | setModelDefinitionForAgents () |
| virtual DtVector | lineColor () const |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| 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 | |
| double | myLifeTime |
| bool | myEnabled |
| bool | myOcclude |
| DtUnicode | myBackgroundImage |
| DtProjectedWidgetModelAgent * | myProjectedWidgetModelAgent |
| DtWidgetAgent * | myDetonationIconAgent |
| Dt3DSegmentedLineModelAgent * | myLineAgent |
| DtAttachableUpdaterAgent * | myAttachableUpdater |
| DtDetonationInteractionStateListener * | myDetonationListener |
| DtSceneObjectAgent * | myTemporaryDetonationSceneObjectAgent |
Protected Attributes inherited from makVrv::DtStateVisualizer | |
| DtBaseConnection & | mySimulation |
| DtStateListener & | myListener |
| bool | myDistributeFlag |
| DtUniqueID | mySceneObjectID |
| std::string | myName |
| std::string | myModelDefinition |
| DtSignalConnectionManager | myConnections |
| int | myModelSet |
| int | myVisualizerType |
| bool | myPickable |
| bool | myVisible |
| const DtVisualizerDefinition * | myVisualizerDefinition |
| DtStateVisualizer * | myParent |
| DtSceneObjectAgent * | mySceneObjectAgent |
| bool | myInitialInitializeDone |
| ShowHideContextVector | myVisualizerShowHideContexts |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, UserType = 10000 } |
Public Attributes inherited from makVrv::DtStateVisualizer | |
| boost::signalslib::signal < void(DtStateVisualizer *, DtStateVisualizer *, DtStateVisualizer *)> | signal_reparented |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::DtDetonationLineVisualizer::DtDetonationLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| makVrv::DtDetonationLineVisualizer::DtDetonationLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| int | modelSet | ||
| ) |
CTOR This class creates its own scene object agent, and then passes it off to the temporary effects manager. The COTR arg scene object is not used.
|
virtual |
DTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
delete |
not allowed = equals operator
|
overridevirtual |
Initialize the visualizer.
Reimplemented from makVrv::DtStateVisualizer.
|
virtual |
Set the line enabled or disabled.
| bool makVrv::DtDetonationLineVisualizer::enabled | ( | ) | const |
Get whether the line is enabled or disabled.
|
virtual |
Set the parent of this visualizer.
Reimplemented from makVrv::DtStateVisualizer.
|
virtual |
The instance's type info.
Implements makVrv::DtStateVisualizer.
|
static |
This class's type info.
|
protectedvirtual |
Override to create model agents that will be used to display data from the listener.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
Destroys all currently created definitions.
Implements makVrv::DtStateVisualizer.
|
overrideprotectedvirtual |
Connect the visualizer to the listeners signals Called by DtStateVisualizer::initialize()
Reimplemented from 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.
|
protectedvirtual |
Sets model definition for all the agents that this visualizer might be using. If model agents are not created, should create them. Should not call this directly. Called by initialize.
Implements makVrv::DtStateVisualizer.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
This visualizer requires its own scene object for detonations. 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.