![]() |
VR-Forces 5.0.1 Developer's Guide
|
Updater for the Kelvin tidalStreamWake model.
DtTritonTidalStreamWakeUpdater is a distributed object, managed by DtTickableManager. It updates the position, direction and speed of an tidalStreamWake-generating entity

Protected Member Functions | |
| virtual DtTritonTidalStreamWakeModel * | tidalStreamWakeModel () |
| virtual DtVector | calcWakeDirection (const DtVector ¤tPos, float radiansFromNorth) |
| virtual void | setTidalStreamWakesEnabled (bool enabled) |
| virtual void | slot_coordinateSystemChanged () |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| DtTickable () | |
| virtual void | slot_managerAboutToBeDeleted () |
Protected Attributes | |
| DtSignalConnectionManager | myConnections |
| bool | myTidalStreamWakesEnabled |
| DtCoordinateConverter * | myCoordinateConverter = nullptr |
Protected Attributes inherited from makVrv::DtTidalStreamWakeUpdater | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| DtModel * | myTidalStreamWakeModel |
| DtTime | myLastUpdateTime |
| double | myCurrentSpeed |
| double | myCurrentDirection |
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 } |
| makVrv::DtTritonTidalStreamWakeUpdater::DtTritonTidalStreamWakeUpdater | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| [in] | de | is the display engine. |
| [in] | id | is a unique identifier for this distributed object. |
|
virtual |
Virtual DTOR.
Check if an update is required.
| [in] | tNow | is the current time-stamp. |
| true | if this object needs to be ticked. |
| false | otherwise. |
Reimplemented from makVrv::DtTickable.
|
virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTidalStreamWakeUpdater.
|
protectedvirtual |
Helper method to return a properly cast version of the tidalStreamWake model supplied.
|
protectedvirtual |
Calculate a normalized helo down vector.
|
protectedvirtual |
Called when global tidal stream wakes enabled signal is received.
|
protectedvirtual |
slot for when the coordinate system changes
|
protected |
|
protected |
|
protected |
local clone of the current system wide coordinate system converter. for thread safety.