Manager for updating the rotorwashes. DtRotorWashManager is managed by.
- See Also
- DtTickableManager. When you call the addRotorWash() method, the DtRotorWashManager will create a
-
DtRotorWashSet if one does not yet exist. The DtRotorWashManager will manage the collection of rotorwash visual effects for the entity. The DtRotorWashManager will update the
-
DtRotorWashSet for each entity during the manager update.
-
DtEntityRotorWashVisualizer uses the
-
DtRotorWashObject to talk to this manager. Then the
-
DtRotorWashManager coordinates with the
-
DtRotorWashSet ->
-
DtRotorWashDistributor ->
-
DtRotorWashModel
|
| virtual | ~DtRotorWashManager () |
| |
| virtual void | addRotorWash (DtUniqueID helicopterID, DtUniqueID rotorWashID, const std::string &modelDef) |
| |
| virtual void | removeRotorWash (DtUniqueID helicopterID, DtUniqueID rotorWashID) |
| |
| virtual bool | hasRotorWash (DtUniqueID helicopterID, DtUniqueID rotorWashID) |
| |
| virtual DtRotorWashSet * | getRotorWashSet (DtUniqueID helicopterID) |
| |
| virtual void | start (DtUniqueID helicopterID, DtUniqueID rotorWashID) |
| |
| virtual void | stop (DtUniqueID helicopterID, DtUniqueID rotorWashID) |
| |
| virtual void | setRotorDiameter (DtUniqueID helicopterID, DtUniqueID rotorWashID, double rotorDiameter) |
| |
| virtual void | setDefaultRotorDiameter (DtUniqueID helicopterID, DtUniqueID rotorWashID, double rotorDiameter) |
| |
| virtual void | setRotorWindSpeed (DtUniqueID helicopterID, DtUniqueID rotorWashID, double rotorWindSpeed) |
| |
| virtual void | setDefaultRotorWindSpeed (DtUniqueID helicopterID, DtUniqueID rotorWashID, double rotorWindSpeed) |
| |
| virtual void | update (DtTime tNow) |
| |
| virtual DtTime | lastUpdateTime () const |
| |
| virtual int | numHelicopters () |
| |
| virtual void | helicopterIDs (std::vector< DtUniqueID > &heliIDs) |
| |
| virtual DtRotorWashSet * | createRotorWashSet () |
| |
| 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 |
| |
| | DtVirtualBaseClass () |
| |
| virtual | ~DtVirtualBaseClass () |
| |
| virtual makVrv::DtRotorWashManager::~DtRotorWashManager |
( |
| ) |
|
|
virtual |
| makVrv::DtRotorWashManager::DtRotorWashManager |
( |
DtDe & |
de | ) |
|
|
protected |
CTOR.
- Parameters
-
| [in] | de | is the display engine. |
| makVrv::DtRotorWashManager::DtRotorWashManager |
( |
| ) |
|
|
private |
Default Constructor not implemented – default constructor not allowed.
Copy Constructor not implemented – Copy not allowed.
Get an instance used to emit, or to connect.
| virtual void makVrv::DtRotorWashManager::addRotorWash |
( |
DtUniqueID |
helicopterID, |
|
|
DtUniqueID |
rotorWashID, |
|
|
const std::string & |
modelDef |
|
) |
| |
|
virtual |
Add a rotorwash for a helicopter based on unique id You can add multiple rotorwashes to a helicopter and it will switch depending on the soil type (see DtRotorWashInfo for types)
| virtual void makVrv::DtRotorWashManager::removeRotorWash |
( |
DtUniqueID |
helicopterID, |
|
|
DtUniqueID |
rotorWashID |
|
) |
| |
|
virtual |
Remove a rotorwash for a helicopter based on unique id.
Get the set of rotor washes for a helicopter.
Start a rotorwash for a helicopter based on unique id.
Stop a rotorwash for a helicopter based on unique id.
| virtual void makVrv::DtRotorWashManager::setRotorDiameter |
( |
DtUniqueID |
helicopterID, |
|
|
DtUniqueID |
rotorWashID, |
|
|
double |
rotorDiameter |
|
) |
| |
|
virtual |
Set the diameter of the rotors (tip to tip) generating the wake. If set, larger rotor diamtere will result in larger rotorwash.
| virtual void makVrv::DtRotorWashManager::setDefaultRotorDiameter |
( |
DtUniqueID |
helicopterID, |
|
|
DtUniqueID |
rotorWashID, |
|
|
double |
rotorDiameter |
|
) |
| |
|
virtual |
Set a default diameter of the rotors (tip to tip) generating the wake (if setRotorDiametere is not used)
| virtual void makVrv::DtRotorWashManager::setRotorWindSpeed |
( |
DtUniqueID |
helicopterID, |
|
|
DtUniqueID |
rotorWashID, |
|
|
double |
rotorWindSpeed |
|
) |
| |
|
virtual |
Set the speed of the down-draft created by the rotors. If set, larger speed will create larger rotorwashes.
| virtual void makVrv::DtRotorWashManager::setDefaultRotorWindSpeed |
( |
DtUniqueID |
helicopterID, |
|
|
DtUniqueID |
rotorWashID, |
|
|
double |
rotorWindSpeed |
|
) |
| |
|
virtual |
Set the default speed of the down-draft created by the rotors (if setRotorWindSpeed is not used)
| virtual void makVrv::DtRotorWashManager::update |
( |
DtTime |
tNow | ) |
|
|
virtual |
The update function called by DtTickableManager during update-ticks.
- Parameters
-
| [in] | tNow | is the current time-stamp. |
- Note
- Derived classes should update the rotorWash at the end of their implementation of this function.
Implements makVrv::DtTickable.
| virtual DtTime makVrv::DtRotorWashManager::lastUpdateTime |
( |
| ) |
const |
|
virtual |
Get the time-stamp of the last update.
- Returns
- The last update time.
| virtual int makVrv::DtRotorWashManager::numHelicopters |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtRotorWashManager::helicopterIDs |
( |
std::vector< DtUniqueID > & |
heliIDs | ) |
|
|
virtual |
Get the list of helicopter IDs being managed.
| virtual DtRotorWashSet* makVrv::DtRotorWashManager::createRotorWashSet |
( |
| ) |
|
|
virtual |
Function to create a DtRotorWashSet in case you want to create your own derived class instead and use it with this manager when adding a rotorwash.
Assignment Operator not implemented – Copy not allowed.
| virtual bool makVrv::DtRotorWashManager::lockOceanHeightData |
( |
void |
| ) |
|
|
protectedvirtual |
| virtual bool makVrv::DtRotorWashManager::unlockOceanHeightData |
( |
void |
| ) |
|
|
protectedvirtual |
| DtDe& makVrv::DtRotorWashManager::myDe |
|
protected |
The documentation for this class was generated from the following file: