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

Public Member Functions | |
| DtTrackHistoryUpdater (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtTrackHistoryUpdater () |
| DTOR. | |
| virtual void | update (DtTime tNow) |
| update the ribbon | |
| virtual bool | needsUpdate (DtTime tNow) |
| The check function called by DtTickableManager to verify if an update is required. | |
| virtual void | attachRibbonModel (DtUniqueID id) |
| attach a ribbon model to update (referenced by its unique ID) | |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual | ~DtTickable () |
| Virtual DTOR. | |
| virtual void | setUpdatePeriod (unsigned int period) |
| Specify how often (in # of frames) this tickable should call update. | |
| virtual unsigned int | updatePeriod () const |
Protected Attributes | |
| DtRibbonModel * | myModel |
| The model to update. | |
| DtTime | myLastUpdateTime |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| Pointer to manager for removal during destruction. | |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| CTOR. | |
| DtTickable () | |
| Unimplemented default CTOR. | |
| virtual void | slot_managerAboutToBeDeleted () |
DtTrackHistoryUpdater updates a track history model with the current position of the scene object it's attached to each tick.
| 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 |