VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtDetonationLineVisualizer Class Reference

Displays a detonation line from the shooter to the detonation location and an icon at the detonation location. More...

Inheritance diagram for makVrv::DtDetonationLineVisualizer:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Displays a detonation line from the shooter to the detonation location and an icon at the detonation location.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

Set the line enabled or disabled.

Get whether the line is enabled or disabled.

Set the parent of this visualizer.

Reimplemented from makVrv::DtStateVisualizer.

The instance's type info.

Implements makVrv::DtStateVisualizer.

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.

Set any other additional visualizer information from the visual record.

Reimplemented from makVrv::DtStateVisualizer.

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]

Member Data Documentation

DtProjectedWidgetModelAgent* makVrv::DtDetonationLineVisualizer::myProjectedWidgetModelAgent [protected]
Dt3DSegmentedLineModelAgent* makVrv::DtDetonationLineVisualizer::myLineAgent [protected]
DtAttachableUpdaterAgent* makVrv::DtDetonationLineVisualizer::myAttachableUpdater [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)