![]() |
VR-Forces 4.0.4 Class Documentation
|
Implements sqawk indicators radiating from an entity. More...

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 |
| DtDe & | myDe |
Friends | |
| class | DtSquawkIndicatorCreator |
Implements sqawk indicators radiating from an entity.
| virtual makVrv::DtSquawkIndicator::~DtSquawkIndicator | ( | ) | [virtual] |
DTOR.
| makVrv::DtSquawkIndicator::DtSquawkIndicator | ( | DtDe & | de, |
| int | modelSet, | ||
| int | visualType, | ||
| AttachablePoint | transmitLoc | ||
| ) | [protected] |
Protected CTOR (use DtSquawkIndicatorCreator::create(..))
| 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 | ( | ) | [protected, virtual] |
Instantiates model agents representing the squawk indicators.
Uses settings from the settings manager for proper appearance.
| DtCorruptedState | if agents could not be created. |
friend class DtSquawkIndicatorCreator [friend] |
DtWidgetAgent* makVrv::DtSquawkIndicator::myWidgetAgent [protected] |
DtAttachableUpdaterAgent* makVrv::DtSquawkIndicator::myUpdater [protected] |
DtProjectedWidgetModelAgent* makVrv::DtSquawkIndicator::myProjectedWidgetModelAgent [protected] |
DtSceneObjectAgent* makVrv::DtSquawkIndicator::mySceneObject [protected] |
int makVrv::DtSquawkIndicator::myVisualType [protected] |
int makVrv::DtSquawkIndicator::myModelSet [protected] |
float makVrv::DtSquawkIndicator::myAnimationRate [protected] |
DtDe& makVrv::DtSquawkIndicator::myDe [protected] |