The DtRotorWashDistributor is used to update the currently active.
- See Also
- DtRotorWashModel visual effect model (on each display engine) with the current update values from that entity's
-
DtRotorWashProcess. The
-
DtRotorWashDistributor will look up the local visual effect model using its agent id and update it.
| makVrv::DtRotorWashDistributor::DtRotorWashDistributor |
( |
DtDe & |
de, |
|
|
DtUniqueID |
id |
|
) |
| |
| virtual makVrv::DtRotorWashDistributor::~DtRotorWashDistributor |
( |
| ) |
|
|
virtual |
| makVrv::DtRotorWashDistributor::DtRotorWashDistributor |
( |
| ) |
|
|
private |
Default Constructor not implemented – default constructor not allowed.
Copy Constructor not implemented – Copy not allowed.
| virtual const std::string& makVrv::DtRotorWashDistributor::className |
( |
| ) |
const |
|
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 void makVrv::DtRotorWashDistributor::modelToBeDestroyed |
( |
DtModel * |
model | ) |
|
|
virtual |
Slot for the model to be destroyed signal. Handle cleanup for this model here.
| virtual void makVrv::DtRotorWashDistributor::setModelDefinition |
( |
const std::string & |
def | ) |
|
|
virtual |
Override the set model definition function. Use this to parse a model after it is loaded.
| virtual void makVrv::DtRotorWashDistributor::setRotorDiameter |
( |
double |
diameter | ) |
|
|
virtual |
Set/get the diameter of the rotors (tip to tip)
| virtual double makVrv::DtRotorWashDistributor::rotorDiameter |
( |
| ) |
const |
|
virtual |
Set/get the diameter of the rotors (tip to tip)
| virtual void makVrv::DtRotorWashDistributor::setRotorWindSpeed |
( |
double |
speed | ) |
|
|
virtual |
Set/get the speed of the down-draft created by the rotors.
| virtual double makVrv::DtRotorWashDistributor::rotorWindSpeed |
( |
| ) |
const |
|
virtual |
Set/get the speed of the down-draft created by the rotors.
| virtual void makVrv::DtRotorWashDistributor::setDefaultRotorDiameter |
( |
double |
diameter | ) |
|
|
virtual |
Set/get the default diameter of the rotors (tip to tip) (default value if no one sets rotor diameter)
| virtual double makVrv::DtRotorWashDistributor::defaultRotorDiameter |
( |
| ) |
const |
|
virtual |
Set/get the default diameter of the rotors (tip to tip) (default value if no one sets rotor diameter)
| virtual void makVrv::DtRotorWashDistributor::setDefaultRotorWindSpeed |
( |
double |
speed | ) |
|
|
virtual |
Set/get the speed of the down-draft created by the rotors. (default value if no one sets rotor speed)
| virtual double makVrv::DtRotorWashDistributor::defaultRotorWindSpeed |
( |
| ) |
const |
|
virtual |
Set/get the speed of the down-draft created by the rotors. (default value if no one sets rotor speed)
| virtual void makVrv::DtRotorWashDistributor::start |
( |
| ) |
|
|
virtual |
Start the rotorwash effect.
| virtual void makVrv::DtRotorWashDistributor::stop |
( |
| ) |
|
|
virtual |
Stop the rotor wash effect.
| virtual void makVrv::DtRotorWashDistributor::setOffsetPos |
( |
const DtVector & |
offset | ) |
|
|
virtual |
Position the rotorwash via an offset vector.
| virtual void makVrv::DtRotorWashDistributor::setVisible |
( |
bool |
isVisible | ) |
|
|
virtual |
Set the visible state of the model.
- Parameters
-
| [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 bool makVrv::DtRotorWashDistributor::isStopped |
( |
| ) |
|
|
virtual |
Get whether the rotorwash has stopped.
| virtual void makVrv::DtRotorWashDistributor::setHelicopterPos |
( |
const DtVector & |
modelPos | ) |
|
|
virtual |
Use for mimic mode so that the helicopter rotorwash position will correspond with the mimic mode model.
| virtual void makVrv::DtRotorWashDistributor::setHelicopterOri |
( |
const DtTaitBryan & |
modelOri | ) |
|
|
virtual |
Use for mimic mode so that the helicopter rotorwash orientation will correspond with the mimic mode model.
| virtual void makVrv::DtRotorWashDistributor::setIntensity |
( |
float |
intensity | ) |
|
|
virtual |
Set the speed of the down-draft created by the rotors. Only applies to water rotor wash.
| virtual void makVrv::DtRotorWashDistributor::setRotorWashDir |
( |
const DtVector & |
dir | ) |
|
|
virtual |
Set the direction out of the bottom of the helicopter.
| virtual void makVrv::DtRotorWashDistributor::update |
( |
| ) |
|
|
virtual |
For updating any values needed for rotor wash.
| virtual DtVector makVrv::DtRotorWashDistributor::currentHeloPosition |
( |
| ) |
const |
|
protectedvirtual |
Get the helo's current position that this rotorWash is attached to.
| virtual DtTaitBryan makVrv::DtRotorWashDistributor::currentHeloOrientation |
( |
| ) |
const |
|
protectedvirtual |
Get the helo's current orientation that this rotorWash is attached to.
| virtual DtSceneObject* makVrv::DtRotorWashDistributor::sceneObject |
( |
| ) |
const |
|
protectedvirtual |
Get the scene object that owns this model (and the ship's model)
Assignment Operator not implemented – Copy not allowed.
| DtDe& makVrv::DtRotorWashDistributor::myDe |
|
protected |
| DtUniqueID makVrv::DtRotorWashDistributor::myUniqueId |
|
protected |
The documentation for this class was generated from the following file: