VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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.

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

Friends

class DtSquawkIndicatorCreator

Detailed Description

Implements sqawk indicators radiating from an entity.


Constructor & Destructor Documentation

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.

Sets the offset of the indicator from the attach point.

virtual void makVrv::DtSquawkIndicator::initialize ( ) [protected, virtual]

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]

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)