VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtSquawkIndicator Class Reference

Implements sqawk indicators radiating from an entity. More...

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

Public Member Functions

virtual ~DtSquawkIndicator ()
 DTOR.
void setOffset (const DtVector &offset)
 Sets the offset of the indicator from the attach point.
Methods Inherited from DtBaseRadioVisualization
virtual void setColor (float red, float green, float blue, float alpha=1.0f)
 Sets the color of the squawk indicator.
virtual void setAnimationRate (float rate)
 Sets the rate at which the squawk indicator animation progresses.
virtual void animate (double t)
 Animate the squawk indicator using the current time.
- Public Member Functions inherited from makVrv::DtBaseRadioVisualization
 DtBaseRadioVisualization (DtUniqueID uid)
 CTOR.
virtual ~DtBaseRadioVisualization ()
 Virtual DTOR.
DtUniqueID uniqueId () const
 Returns the visualization's unique id.

Protected Member Functions

 DtSquawkIndicator (DtDe &de, int modelSet, int visualType, AttachablePoint transmitLoc)
 Protected CTOR (use DtSquawkIndicatorCreator::create(..))
virtual void initialize ()
 Instantiates model agents representing the squawk indicators.

Protected Attributes

DtWidgetAgent * myWidgetAgent
DtAttachableUpdaterAgent * myUpdater
DtProjectedWidgetModelAgent * myProjectedWidgetModelAgent
DtSceneObjectAgent * mySceneObject
AttachablePoint myAttachPoint
int myVisualType
int myModelSet
float myAnimationRate
DtDemyDe
- Protected Attributes inherited from makVrv::DtBaseRadioVisualization
DtUniqueID myUniqueId

Friends

class DtSquawkIndicatorCreator

Detailed Description

Implements sqawk indicators radiating from an entity.

Constructor & Destructor Documentation

virtual makVrv::DtSquawkIndicator::~DtSquawkIndicator ( )
virtual

DTOR.

makVrv::DtSquawkIndicator::DtSquawkIndicator ( DtDe de,
int  modelSet,
int  visualType,
AttachablePoint  transmitLoc 
)
protected

Protected CTOR (use DtSquawkIndicatorCreator::create(..))

Member Function Documentation

virtual void makVrv::DtSquawkIndicator::setColor ( float  red,
float  green,
float  blue,
float  alpha = 1.0f 
)
virtual

Sets the color of the squawk indicator.

Color values specified in the 0 to 1 range.

Implements makVrv::DtBaseRadioVisualization.

virtual void makVrv::DtSquawkIndicator::setAnimationRate ( float  rate)
virtual

Sets the rate at which the squawk indicator animation progresses.

At an animation rate of 1.0, the sqawk indicator iterates through all model definitions in 1 second. At a factor (animation rate) of 2.0, it does it in a half a second, etc.

Implements makVrv::DtBaseRadioVisualization.

virtual void makVrv::DtSquawkIndicator::animate ( double  t)
virtual

Animate the squawk indicator using the current time.

Implements makVrv::DtBaseRadioVisualization.

void makVrv::DtSquawkIndicator::setOffset ( const DtVector offset)

Sets the offset of the indicator from the attach point.

virtual void makVrv::DtSquawkIndicator::initialize ( )
protectedvirtual

Instantiates model agents representing the squawk indicators.

Uses settings from the settings manager for proper appearance.

Exceptions
DtCorruptedStateif agents could not be created.

Friends And Related Function Documentation

friend class DtSquawkIndicatorCreator
friend

Member Data Documentation

DtWidgetAgent* makVrv::DtSquawkIndicator::myWidgetAgent
protected
DtAttachableUpdaterAgent* makVrv::DtSquawkIndicator::myUpdater
protected
DtProjectedWidgetModelAgent* makVrv::DtSquawkIndicator::myProjectedWidgetModelAgent
protected
DtSceneObjectAgent* makVrv::DtSquawkIndicator::mySceneObject
protected
AttachablePoint makVrv::DtSquawkIndicator::myAttachPoint
protected
int makVrv::DtSquawkIndicator::myVisualType
protected
int makVrv::DtSquawkIndicator::myModelSet
protected
float makVrv::DtSquawkIndicator::myAnimationRate
protected
DtDe& makVrv::DtSquawkIndicator::myDe
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)