![]() |
VR-Forces 4.0.4 Class Documentation
|
A DtAttachableRangeTextUpdater is used to update a text widget with a range between two points (fixed or attached) More...

Classes | |
| struct | RangePointInformation |
| If id is non-zero, will try and use that, else will use the position. More... | |
Public Member Functions | |
| DtAttachableRangeTextUpdater (makVrv::DtDe &de, makVrv::DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtAttachableRangeTextUpdater () |
| DTOR. | |
| virtual void | update (double simTime) |
| Update the scene object. | |
| virtual void | setRangeFrom (makVrv::DtUniqueID fromID) |
| If attached (from), sets the from point. | |
| virtual void | setRangeFrom (const DtVector &fromPoint) |
| If not attached, sets the from position. | |
| virtual void | setRangeTo (makVrv::DtUniqueID toID) |
| If attached, sets the to point. | |
| virtual void | setRangeTo (const DtVector &toPoint) |
| If not attached, sets the to position. | |
| virtual void | updateWidgetLabel (makVrv::DtWidgetLabel *widgetLabel, double distanceInMeters) |
| virtual DtVector | position (const RangePointInformation &, double simTime) const |
| Returns position from information. | |
Protected Member Functions | |
| virtual void | cleanup (RangePointInformation &, bool isFrom) |
| virtual void | slot_attachedUpdaterToBeDeleted (const makVrv::DtUniqueID &id, bool isFrom) |
| virtual void | slot_attachedSceneObjectToBeDeleted (const makVrv::DtUniqueID &id, bool isFrom) |
Protected Attributes | |
| RangePointInformation | myRangeFrom |
| RangePointInformation | myRangeTo |
A DtAttachableRangeTextUpdater is used to update a text widget with a range between two points (fixed or attached)
| exampleRangeLine::DtAttachableRangeTextUpdater::DtAttachableRangeTextUpdater | ( | makVrv::DtDe & | de, |
| makVrv::DtUniqueID | id | ||
| ) |
CTOR.
| virtual exampleRangeLine::DtAttachableRangeTextUpdater::~DtAttachableRangeTextUpdater | ( | ) | [virtual] |
DTOR.
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::update | ( | double | simTime | ) | [virtual] |
Update the scene object.
Reimplemented from makVrv::DtAttachableUpdater.
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::setRangeFrom | ( | makVrv::DtUniqueID | fromID | ) | [virtual] |
If attached (from), sets the from point.
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::setRangeFrom | ( | const DtVector & | fromPoint | ) | [virtual] |
If not attached, sets the from position.
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::setRangeTo | ( | makVrv::DtUniqueID | toID | ) | [virtual] |
If attached, sets the to point.
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::setRangeTo | ( | const DtVector & | toPoint | ) | [virtual] |
If not attached, sets the to position.
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::updateWidgetLabel | ( | makVrv::DtWidgetLabel * | widgetLabel, |
| double | distanceInMeters | ||
| ) | [virtual] |
| virtual DtVector exampleRangeLine::DtAttachableRangeTextUpdater::position | ( | const RangePointInformation & | , |
| double | simTime | ||
| ) | const [virtual] |
Returns position from information.
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::cleanup | ( | RangePointInformation & | , |
| bool | isFrom | ||
| ) | [protected, virtual] |
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::slot_attachedUpdaterToBeDeleted | ( | const makVrv::DtUniqueID & | id, |
| bool | isFrom | ||
| ) | [protected, virtual] |
| virtual void exampleRangeLine::DtAttachableRangeTextUpdater::slot_attachedSceneObjectToBeDeleted | ( | const makVrv::DtUniqueID & | id, |
| bool | isFrom | ||
| ) | [protected, virtual] |