![]() |
VR-Forces 4.1 Class Documentation
|
DtHeadingLineUpdater updates symbol decorations with distributed side data. More...

Public Member Functions | |
| DtHeadingLineUpdater (DtDe &de, DtUniqueID id, bool suppressTick=false) | |
| CTOR. | |
| virtual | ~DtHeadingLineUpdater () |
| DTOR. | |
| virtual void | update (DtTime tNow) |
| update the symbol decorations | |
| virtual void | setSceneObject (DtSceneObject *sceneObject) |
| sets the scene object to update via the id. | |
| virtual void | attachDirectionLineModel (DtUniqueID id) |
| attach a heading line model (DtOverlayDirectionLineModel) to update (referenced by its unique ID) | |
Public Member Functions inherited from makVrv::DtSceneObjectUpdater | |
| DtSceneObjectUpdater (DtDe &de, DtUniqueID id, bool suppressTick=false) | |
| CTOR. | |
| virtual | ~DtSceneObjectUpdater () |
| Virtual DTOR. | |
| virtual bool | needsUpdate (DtTime tNow) |
| The check function called by DtTickableManager to verify if an update is required. | |
| virtual DtTime | lastUpdateTime () const |
| Get the time-stamp of the last update. | |
| DtSceneObject * | findSceneObject () |
| Get the current scene object for this updater. | |
| DtUniqueID | uniqueId () const |
| Returns the distributed object id of this updater. | |
| virtual void | setUpdaterPosition (int vtx, const DtVector &pos) |
| Set the position of a scene object vertex. | |
| virtual const DtVector & | updaterPosition (int vtx) const |
| Get the position of a scene object vertex. | |
| virtual void | setUpdaterOrientation (int vtx, const DtTaitBryan &ori) |
| Set the orientation of a scene object vertex. | |
| virtual const DtTaitBryan & | updaterOrientation (int vtx) const |
| Get the orientation of a scene object vertex. | |
| void | updateSceneObject (DtTime tNow) |
| Update the scene object position and orientation at each vertex and set the last updated time-stamp. | |
| virtual void | terrainScaleTransformsIfNeeded () |
| Scales the transforms if the terrain scaling flag is set. | |
Protected Member Functions | |
| virtual void | slot_sceneObjectDeleted (DtUniqueID id) |
| Called when the referenced scene object is deleted. | |
Protected Member Functions inherited from makVrv::DtSceneObjectUpdater | |
| virtual void | slot_sceneObjectToBeDeleted (const DtUniqueID &id) |
| Signal that this updater is being destroyed. | |
Protected Attributes | |
| DtOverlayDirectionLineModel * | myLineModel |
| The model to update. | |
| double | myLastSymbolUpdateTime |
| The last time the symbols were updated; used to slow down updating if once per frame is undesirable. | |
| DtSignalConnectionManager | mySignals |
| Signal manager to auto disconnect boost signals. | |
Protected Attributes inherited from makVrv::DtSceneObjectUpdater | |
| DtDe & | myDe |
| The display engine. | |
| DtUniqueID | myUniqueId |
| This distributed object's unique identifier. | |
| DtSceneObject * | mySceneObject |
| A pointer to the current scene object being updated. | |
| DtTime | myLastUpdateTime |
| The last time stamp when the updateSceneObject() was called. | |
| DtSceneObject::TransformList | myTransforms |
| Local copy of the vertex positions and orientations. | |
| const DtDeSharedState & | myDeSharedState |
| This is kept to make terrain scale updating cheaper ( by one virtual function call ). | |
| bool | myInManager |
| If tick was suppressed, then this updater is not on the tickableManager. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtSceneObjectUpdater | |
| boost::signal< void(const DtUniqueID &) > | signal_updaterToBeDeleted |
| Signal that this updater is being destroyed. | |
DtHeadingLineUpdater updates symbol decorations with distributed side data.
| makVrv::DtHeadingLineUpdater::DtHeadingLineUpdater | ( | DtDe & | de, |
| DtUniqueID | id, | ||
| bool | suppressTick = false |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
update the symbol decorations
Implements makVrv::DtSceneObjectUpdater.
|
virtual |
sets the scene object to update via the id.
Reimplemented from makVrv::DtSceneObjectUpdater.
|
virtual |
attach a heading line model (DtOverlayDirectionLineModel) to update (referenced by its unique ID)
|
protectedvirtual |
Called when the referenced scene object is deleted.
|
protected |
The model to update.
|
protected |
The last time the symbols were updated; used to slow down updating if once per frame is undesirable.
|
protected |
Signal manager to auto disconnect boost signals.