![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtTrackHistoryUpdater updates a track history model with the current position of the scene object it's attached to each tick.

Public Member Functions | |
| DtTrackHistoryUpdater (DtDe &de, DtUniqueID id) | |
| virtual | ~DtTrackHistoryUpdater () |
| virtual void | update (DtTime tNow) |
| virtual bool | needsUpdate (DtTime tNow) |
| virtual void | attachRibbonModel (DtUniqueID id) |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual bool | updateIfNeeded (DtTime tNow) |
| virtual | ~DtTickable () |
| virtual void | setIsThreadSafe (bool safe) |
| virtual bool | isThreadSafe () const |
| virtual void | setTickableListState (TickableListState safeList) |
| virtual TickableListState | tickableListState () const |
| virtual void | setUpdatePeriod (unsigned int period) |
| virtual unsigned int | updatePeriod () const |
| virtual bool | lodSystemEnabled () const |
Protected Attributes | |
| DtRibbonModel * | myModel |
| DtTime | myLastUpdateTime |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
| DtTime | myLastUpdateTime |
| bool | myIsThreadSafe |
| TickableListState | myTickableListState |
Additional Inherited Members | |
Public Types inherited from makVrv::DtTickable | |
| enum | TickableListState { TickableNotOnList, TickableOnMainList, TickableOnThreadSafeList } |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| DtTickable () | |
| virtual void | slot_managerAboutToBeDeleted () |
| makVrv::DtTrackHistoryUpdater::DtTrackHistoryUpdater | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
update the ribbon
Implements makVrv::DtTickable.
Reimplemented in makVrf::DtSpotReportTrackHistoryUpdater.
The check function called by DtTickableManager to verify if an update is required. If this function returns true, the DtTickableManager will then call update().
| [in] | tNow | is the current time-stamp. |
| true | if this object needs to be ticked. |
| false | otherwise. |
Reimplemented from makVrv::DtTickable.
Reimplemented in makVrf::DtSpotReportTrackHistoryUpdater.
|
virtual |
attach a ribbon model to update (referenced by its unique ID)
Reimplemented in makVrf::DtSpotReportTrackHistoryUpdater.
|
protected |
The model to update.
|
protected |
|
protected |
|
protected |