![]() |
VR-Forces 4.0.4 Class Documentation
|
Displays a detonation line from the shooter to the detonation location and an icon at the detonation location. More...

Public Member Functions | |
| DtDetonationLineVisualizer (DtBaseConnection &simulation, DtStateListener &listener, int modelSet) | |
| CTOR. | |
| virtual | ~DtDetonationLineVisualizer () |
| DTOR. | |
| virtual void | setEnabled (bool b) |
| Set the line enabled or disabled. | |
| bool | enabled () const |
| Get whether the line is enabled or disabled. | |
| virtual void | setParent (DtStateVisualizer *) |
| Set the parent of this visualizer. | |
| virtual const DtStateVisualizer::TypeInfo & | typeInfo () const |
| The instance's type info. | |
Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
| This class's type info. | |
Protected Member Functions | |
| virtual void | createModelAgents () |
| Override to create model agents that will be used to display data from the listener. | |
| virtual void | destroyModelAgents () |
| Destroys all currently created definitions. | |
| virtual void | setVisualizerDefinition (const DtVisualizerDefinition &visDef) |
| Set any other additional visualizer information from the visual record. | |
| virtual void | setModelDefinitionForAgents () |
| Sets model definition for all the agents that this visualizer might be using. | |
| virtual DtVector | lineColor () const |
Protected Attributes | |
| double | myLifeTime |
| bool | myEnabled |
| DtUnicode | myBackgroundImage |
| DtProjectedWidgetModelAgent * | myProjectedWidgetModelAgent |
| DtWidgetAgent * | myDetonationIconAgent |
| Dt3DSegmentedLineModelAgent * | myLineAgent |
| DtAttachableUpdaterAgent * | myAttachableUpdater |
| bool | myOcclude |
Displays a detonation line from the shooter to the detonation location and an icon at the detonation location.
| makVrv::DtDetonationLineVisualizer::DtDetonationLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
CTOR.
| virtual makVrv::DtDetonationLineVisualizer::~DtDetonationLineVisualizer | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtDetonationLineVisualizer::setEnabled | ( | bool | b | ) | [virtual] |
Set the line enabled or disabled.
Get whether the line is enabled or disabled.
| virtual void makVrv::DtDetonationLineVisualizer::setParent | ( | DtStateVisualizer * | ) | [virtual] |
Set the parent of this visualizer.
Reimplemented from makVrv::DtStateVisualizer.
| virtual const DtStateVisualizer::TypeInfo& makVrv::DtDetonationLineVisualizer::typeInfo | ( | ) | const [virtual] |
The instance's type info.
Implements makVrv::DtStateVisualizer.
| static const DtStateVisualizer::TypeInfo& makVrv::DtDetonationLineVisualizer::theTypeInfo | ( | ) | [static] |
This class's type info.
| virtual void makVrv::DtDetonationLineVisualizer::createModelAgents | ( | ) | [protected, virtual] |
Override to create model agents that will be used to display data from the listener.
Implements makVrv::DtStateVisualizer.
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkDetonationLineVisualizer.
| virtual void makVrv::DtDetonationLineVisualizer::destroyModelAgents | ( | ) | [protected, virtual] |
Destroys all currently created definitions.
Implements makVrv::DtStateVisualizer.
| virtual void makVrv::DtDetonationLineVisualizer::setVisualizerDefinition | ( | const DtVisualizerDefinition & | ) | [protected, virtual] |
Set any other additional visualizer information from the visual record.
Reimplemented from makVrv::DtStateVisualizer.
| virtual void makVrv::DtDetonationLineVisualizer::setModelDefinitionForAgents | ( | ) | [protected, virtual] |
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, but rather call setModelDefinition
Implements makVrv::DtStateVisualizer.
| virtual DtVector makVrv::DtDetonationLineVisualizer::lineColor | ( | ) | const [protected, virtual] |
Reimplemented in makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkDetonationLineVisualizer.
double makVrv::DtDetonationLineVisualizer::myLifeTime [protected] |
bool makVrv::DtDetonationLineVisualizer::myEnabled [protected] |
DtProjectedWidgetModelAgent* makVrv::DtDetonationLineVisualizer::myProjectedWidgetModelAgent [protected] |
DtWidgetAgent* makVrv::DtDetonationLineVisualizer::myDetonationIconAgent [protected] |
Dt3DSegmentedLineModelAgent* makVrv::DtDetonationLineVisualizer::myLineAgent [protected] |
DtAttachableUpdaterAgent* makVrv::DtDetonationLineVisualizer::myAttachableUpdater [protected] |
bool makVrv::DtDetonationLineVisualizer::myOcclude [protected] |