![]() |
VR-Forces 4.0.4 Class Documentation
|
A DtAttachableHatUpdater updates a height above terrain (HAT) object that can be positioned in the scene by (possibly) attaching it to another object. More...

Public Member Functions | |
| DtAttachableHatUpdater (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtAttachableHatUpdater () |
| DTOR. | |
| virtual void | update (double simTime) |
| Update the scene object. | |
| virtual void | setUseHighestTerrainLod (bool useHighest) |
| Set whether the line is to currently visible terrain LOD or to highest available terrain LOD. | |
Protected Member Functions | |
| virtual bool | useHighestTerrainLod () const |
| Get whether line is to currently visible terrain LOD or to highest available terrain LOD. | |
Protected Attributes | |
| DtVector | myLastTopPos |
| DtTaitBryan | myLastTopOri |
| bool | myUseHighestTerrainLod |
A DtAttachableHatUpdater updates a height above terrain (HAT) object that can be positioned in the scene by (possibly) attaching it to another object.
The scene object's first transform is updated with the position indicated by the attachment, and its second transform is set to the position of the underlying terrain directly below the first transform.
CTOR.
| virtual makVrv::DtAttachableHatUpdater::~DtAttachableHatUpdater | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtAttachableHatUpdater::update | ( | double | simTime | ) | [virtual] |
Update the scene object.
Reimplemented from makVrv::DtAttachableUpdater.
| virtual void makVrv::DtAttachableHatUpdater::setUseHighestTerrainLod | ( | bool | useHighest | ) | [virtual] |
Set whether the line is to currently visible terrain LOD or to highest available terrain LOD.
| virtual bool makVrv::DtAttachableHatUpdater::useHighestTerrainLod | ( | ) | const [protected, virtual] |
Get whether line is to currently visible terrain LOD or to highest available terrain LOD.
DtVector makVrv::DtAttachableHatUpdater::myLastTopPos [protected] |
DtTaitBryan makVrv::DtAttachableHatUpdater::myLastTopOri [protected] |