![]() |
VR-Forces 4.0.4 Class Documentation
|
A DtAttachableHatTextUpdater is used to update a HAT text object that can be positioned in the scene by (possibly) attaching it to another object This updater extends the usual updater paradigm in that it not only positions the object, but also calculates and sets the actual HAT text. More...

Public Member Functions | |
| DtAttachableHatTextUpdater (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtAttachableHatTextUpdater () |
| DTOR. | |
| virtual void | update (double simTime) |
| Update the scene object. | |
Protected Member Functions | |
| virtual void | updateWidgetLabel (DtWidgetLabel *widgetLabel, double distanceInMeters) |
| Update the text in the widget label. | |
A DtAttachableHatTextUpdater is used to update a HAT text object that can be positioned in the scene by (possibly) attaching it to another object This updater extends the usual updater paradigm in that it not only positions the object, but also calculates and sets the actual HAT text.
To do so, the scene object must have a model of type DtProjectedTextModel in its model list.
CTOR.
| virtual makVrv::DtAttachableHatTextUpdater::~DtAttachableHatTextUpdater | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtAttachableHatTextUpdater::update | ( | double | simTime | ) | [virtual] |
Update the scene object.
Reimplemented from makVrv::DtAttachableUpdater.
| virtual void makVrv::DtAttachableHatTextUpdater::updateWidgetLabel | ( | DtWidgetLabel * | widgetLabel, |
| double | distanceInMeters | ||
| ) | [protected, virtual] |
Update the text in the widget label.