![]() |
VR-Forces 4.10 Class Documentation
|
The DtRotorWashDistributor is used to update the currently active. More...
Public Member Functions | |
| DtRotorWashDistributor (DtDe &de, DtUniqueID id) | |
| CTOR. More... | |
| virtual | ~DtRotorWashDistributor () |
| DTOR. More... | |
| virtual const std::string & | className () const |
| Return the class name of this model. More... | |
| void | setupRotorWashModel (DtUniqueID helicopterUniqueID, DtUniqueID rwModelUniqueID) |
| Lookup local rotor wash model (if it can be found) This needs to be done first before you start calling setRotorDiameter, etc. More... | |
| virtual void | modelToBeDestroyed (DtModel *model) |
| Slot for the model to be destroyed signal. More... | |
| virtual void | setModelDefinition (const std::string &def) |
| Override the set model definition function. More... | |
| virtual void | start () |
| Start the rotorwash effect. More... | |
| virtual void | stop () |
| Stop the rotor wash effect. More... | |
| virtual void | setOffsetPos (const DtVector &offset) |
| Position the rotorwash via an offset vector. More... | |
| virtual void | setVisible (bool isVisible) |
| Set the visible state of the model. More... | |
| virtual bool | isStopped () |
| Get whether the rotorwash has stopped. More... | |
| virtual void | setHelicopterPos (DtVector modelPos) |
| Use for mimic mode so that the helicopter rotorwash position will correspond with the mimic mode model. More... | |
| virtual void | setHelicopterOri (DtTaitBryan modelOri) |
| Use for mimic mode so that the helicopter rotorwash orientation will correspond with the mimic mode model. More... | |
| virtual void | setIntensity (float intensity) |
| Set the speed of the down-draft created by the rotors. More... | |
| virtual void | setRotorWashDir (DtVector dir) |
| Set the direction out of the bottom of the helicopter. More... | |
| virtual void | update () |
| For updating any values needed for rotor wash. More... | |
| virtual void | setRotorDiameter (double diameter) |
| Set/get the diameter of the rotors (tip to tip) More... | |
| virtual double | rotorDiameter () const |
| virtual void | setRotorWindSpeed (double speed) |
| Set/get the speed of the down-draft created by the rotors. More... | |
| virtual double | rotorWindSpeed () const |
| virtual void | setDefaultRotorDiameter (double diameter) |
| Set/get the default diameter of the rotors (tip to tip) (default value if no one sets rotor diameter) More... | |
| virtual double | defaultRotorDiameter () const |
| virtual void | setDefaultRotorWindSpeed (double speed) |
| Set/get the speed of the down-draft created by the rotors. More... | |
| virtual double | defaultRotorWindSpeed () const |
Protected Member Functions | |
| virtual DtVector | currentHeloPosition () const |
| Get the helo's current position that this rotorWash is attached to. More... | |
| virtual DtTaitBryan | currentHeloOrientation () const |
| Get the helo's current orientation that this rotorWash is attached to. More... | |
| virtual DtSceneObject * | sceneObject () const |
| Get the scene object that owns this model (and the ship's model) More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| DtRotorWashModel * | myRotorWashModel |
Private Member Functions | |
| DtRotorWashDistributor () | |
| Default Constructor not implemented – default constructor not allowed. More... | |
| DtRotorWashDistributor (const DtRotorWashDistributor &) | |
| Copy Constructor not implemented – Copy not allowed. More... | |
| DtRotorWashDistributor & | operator= (const DtRotorWashDistributor &) |
| Assignment Operator not implemented – Copy not allowed. More... | |
The DtRotorWashDistributor is used to update the currently active.
| makVrv::DtRotorWashDistributor::DtRotorWashDistributor | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Default Constructor not implemented – default constructor not allowed.
|
private |
Copy Constructor not implemented – Copy not allowed.
|
virtual |
Return the class name of this model.
| void makVrv::DtRotorWashDistributor::setupRotorWashModel | ( | DtUniqueID | helicopterUniqueID, |
| DtUniqueID | rwModelUniqueID | ||
| ) |
Lookup local rotor wash model (if it can be found) This needs to be done first before you start calling setRotorDiameter, etc.
|
virtual |
Slot for the model to be destroyed signal.
Handle cleanup for this model here
|
virtual |
Override the set model definition function.
Use this to parse a model after it is loaded.
|
virtual |
Set/get the diameter of the rotors (tip to tip)
|
virtual |
|
virtual |
Set/get the speed of the down-draft created by the rotors.
|
virtual |
|
virtual |
Set/get the default diameter of the rotors (tip to tip) (default value if no one sets rotor diameter)
|
virtual |
|
virtual |
Set/get the speed of the down-draft created by the rotors.
(default value if no one sets rotor speed)
|
virtual |
|
virtual |
Start the rotorwash effect.
|
virtual |
Stop the rotor wash effect.
|
virtual |
Position the rotorwash via an offset vector.
|
virtual |
Set the visible state of the model.
| [in] | isVisible | is the new visible state; true = visible, false = hidden. There is a special case for mimic mode, we want the active rotor wash to continue being visible |
|
virtual |
Get whether the rotorwash has stopped.
|
virtual |
Use for mimic mode so that the helicopter rotorwash position will correspond with the mimic mode model.
|
virtual |
Use for mimic mode so that the helicopter rotorwash orientation will correspond with the mimic mode model.
|
virtual |
Set the speed of the down-draft created by the rotors.
Only applies to water rotor wash.
|
virtual |
Set the direction out of the bottom of the helicopter.
|
virtual |
For updating any values needed for rotor wash.
|
protectedvirtual |
Get the helo's current position that this rotorWash is attached to.
|
protectedvirtual |
Get the helo's current orientation that this rotorWash is attached to.
|
protectedvirtual |
Get the scene object that owns this model (and the ship's model)
|
private |
Assignment Operator not implemented – Copy not allowed.
|
protected |
|
protected |
|
protected |