![]() |
VR-Forces Developer's Guide
|
Abstract wake object updater interface.
DtWakeUpdaters are distributed objects, managed by DtTickableManager. They update the wake of DtWakeModels

Public Member Functions | |
| DtWakeUpdater (DtDe &de, DtUniqueID id) | |
| virtual | ~DtWakeUpdater () |
| virtual void | update (DtTime tNow)=0 |
| virtual void | setWakeModel (DtModel *wakeModel) |
| DtUniqueID | uniqueId () const |
| virtual void | setPosition (const DtVector &pos) |
| virtual void | setOrientation (const DtTaitBryan &ori) |
| virtual void | setIsAmphibious (bool isAmphibious) |
| virtual void | setLODDistance (double distance) |
| virtual void | setFrozen (bool froze) |
| virtual void | setMaxRenderAngle (double angle) |
| virtual void | setSpeedRenderCuttof (double cutoff) |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual bool | needsUpdate (DtTime tNow) |
| virtual bool | updateIfNeeded (DtTime tNow) |
| virtual | ~DtTickable () |
| virtual void | setTickableEnabled (bool enabled) |
| 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 | adaptiveTickLodEnabled () const |
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 ()=delete | |
| virtual void | slot_managerAboutToBeDeleted () |
| makVrv::DtWakeUpdater::DtWakeUpdater | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| [in] | de | is the display engine. |
| [in] | id | is a unique identifier for this distributed object. |
|
virtual |
Virtual DTOR.
|
pure virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTickable.
Implemented in makVrv::DtTritonWakeUpdater.
|
virtual |
Set the wake model to be updated.
| [in] | wakeModel | is a pointer to the model to be updated |
|
inline |
Returns the distributed object id of this updater.
|
inlinevirtual |
Manually set the current position.
| [in] | pos | is the position to set. |
Reimplemented in makVrv::DtTritonWakeUpdater.
|
inlinevirtual |
Manually set the current orientation.
| [in] | ori | is the orientation to set. |
Reimplemented in makVrv::DtTritonWakeUpdater.
|
inlinevirtual |
Set whether the wake needs to check to see if its over land.
Reimplemented in makVrv::DtTritonWakeUpdater.
|
virtual |
|
virtual |
If an entity is in the frozen state, use 0 for velocity regardless of what it might send.
|
virtual |
Maximum angle between the ship's heading and the wakes direction before the wake is NOT rendereed. Radians.
|
virtual |
Loweest speed that the wake will render with.
|
protected |
The display engine.
|
protected |
This distributed object's unique identifier.
|
protected |
A pointer to the current wake model being updated.
|
protected |
|
protected |
|
protected |
|
protected |