VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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.

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

Public Member Functions

virtual ~DtSquawkIndicator ()
 
void setOffset (const DtVector &offset)
 
Methods Inherited from DtBaseRadioVisualization
virtual void setColor (float red, float green, float blue, float alpha=1.0f)
 
virtual void setAnimationRate (float rate)
 
virtual void animate (double t)
 
- Public Member Functions inherited from makVrv::DtBaseRadioVisualization
 DtBaseRadioVisualization (DtUniqueID uid)
 
virtual ~DtBaseRadioVisualization ()
 
DtUniqueID uniqueId () const
 

Protected Member Functions

 DtSquawkIndicator (DtDe &de, int modelSet, int visualType, AttachablePoint transmitLoc)
 
virtual void initialize ()
 

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
 

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)