Abstract wake object updater interface.
More...
Detailed Description
Abstract wake object updater interface.
DtWakeUpdaters are distributed objects, managed by DtTickableManager. They update the wake of DtWakeModels
Constructor & Destructor Documentation
CTOR.
- Parameters
-
| [in] | de | is the display engine. |
| [in] | id | is a unique identifier for this distributed object. |
| virtual makVrv::DtWakeUpdater::~DtWakeUpdater |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtWakeUpdater::update |
( |
DtTime |
tNow | ) |
|
|
pure virtual |
| virtual DtTime makVrv::DtWakeUpdater::lastUpdateTime |
( |
| ) |
const |
|
virtual |
Get the time-stamp of the last update.
- Returns
- The last update time.
| virtual void makVrv::DtWakeUpdater::setWakeModel |
( |
DtModel * |
wakeModel | ) |
|
|
virtual |
Set the wake model to be updated.
- Parameters
-
| [in] | wakeModel | is a pointer to the model to be updated |
| DtUniqueID makVrv::DtWakeUpdater::uniqueId |
( |
| ) |
const |
|
inline |
Returns the distributed object id of this updater.
| virtual void makVrv::DtWakeUpdater::setPosition |
( |
const DtVector & |
pos | ) |
|
|
inlinevirtual |
Manually set the current position.
- Parameters
-
| [in] | pos | is the position to set. |
- Note
- Only used when ships kinematics cannot be found, such as when creating a wake as a separate entity.
- See Also
- getCurrentShipKinematics()
Reimplemented in makVrv::DtTritonWakeUpdater.
| virtual void makVrv::DtWakeUpdater::setOrientation |
( |
const DtTaitBryan & |
ori | ) |
|
|
inlinevirtual |
Manually set the current orientation.
- Parameters
-
| [in] | ori | is the orientation to set. |
- Note
- Only used when ships kinematics cannot be found, such as when creating a wake as a separate entity.
- See Also
- getCurrentShipKinematics()
Reimplemented in makVrv::DtTritonWakeUpdater.
Member Data Documentation
| DtDe& makVrv::DtWakeUpdater::myDe |
|
protected |
This distributed object's unique identifier.
| DtModel* makVrv::DtWakeUpdater::myWakeModel |
|
protected |
A pointer to the current wake model being updated.
| DtTime makVrv::DtWakeUpdater::myLastUpdateTime |
|
protected |
The last time stamp when the update() was called.
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrvCore/DtWakeUpdater.h