![]() |
VR-Forces 5.0.2 Developer's Guide
|
Osg implementation of DtRotorWashModel. Used for adding rotorwash to the osg scene graph. The rotorWash can be from Triton (water) or the particle system (land) The water rotorwash uses the.

Public Member Functions | |
| DtOsgRotorWashModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOsgRotorWashModel () |
| virtual const std::string & | className () const |
| virtual void | setPosition (int vtx, const DtVector &position) |
Public Member Functions inherited from makVrv::DtRotorWashModel | |
| DtRotorWashModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtRotorWashModel () |
| virtual void | setModelDefinition (const std::string &def) |
| virtual void | setIsSupportModel (bool isSupport) |
| virtual void | start () |
| virtual void | stop () |
| virtual void | setOffsetPos (const DtVector &offset) |
| virtual void | setVisible (bool isVisible) |
| virtual bool | isStopped () |
| virtual void | setIntensity (const float intensity) |
| virtual void | setRotorWashDir (const DtVector &dir) |
| virtual void | update () |
| virtual void | setRotorDiameter (double diameter) |
| virtual double | rotorDiameter () const |
| virtual void | setDefaultRotorDiameter (double diameter) |
| virtual double | defaultRotorDiameter () const |
| virtual void | setRotorWindSpeed (double speed) |
| virtual double | rotorWindSpeed () const |
| virtual void | setDefaultRotorWindSpeed (double speed) |
| virtual double | defaultRotorWindSpeed () const |
| virtual void | setHelicopterID (DtUniqueID helicopterID) |
| virtual DtUniqueID | helicopterID () |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize=true) |
| virtual const std::string & | modelDefinitionName () |
| virtual void | saveModelToFile (const std::string &filename) |
| unsigned int | transformSize () const |
| virtual const DtVector & | position (int vtx=0) const |
| virtual void | removePosition (int vtx) |
| virtual void | setPositionOffset (const DtVector &positionOffset) |
| virtual const DtVector & | positionOffset () const |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| virtual void | setPositionAndOrientation (int vtx, const DtVector &positionOffset, const DtTaitBryan &orientation) |
| virtual const DtTaitBryan & | orientation (int vtx=0) const |
| virtual void | setOrientationOffset (const DtTaitBryan &orientationOffset) |
| virtual const DtTaitBryan & | orientationOffset () const |
| virtual void | enableColorBlending (bool b) |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| virtual void | getBlendColor (float &r, float &g, float &b, float &a) |
| virtual bool | colorBlendingEnabled () const |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | enableLighting (bool l) |
| virtual int | modelSet () const |
| const DtVector & | boundingBoxExtents () const |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| const DtVector & | boundingBoxCenter () const |
| virtual void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| virtual void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| void | setContributesToBound (bool trueOrFalse) |
| bool | contributesToBound () const |
| DtDe & | de () |
| virtual void | setModelInstance (DtModelInstance *modelInstance) |
| virtual void | promoteBackgroundModelInstance (DtModelDefinition &defintion) |
| virtual bool | visible () const |
| DtUniqueID | parentSceneObjectID () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, int modelSet, int visualizerType) |
| virtual void | setElementId (DtUniqueID id) |
| virtual void | removedFromSceneObject () |
| virtual void | setSolid (bool isSolid) |
| virtual bool | isProp () |
| virtual void | updateMinLastFrameDistance (float distance) |
| virtual void | resetLastFrameDistance () |
| virtual float | minLastFrameDistance () const |
| virtual DtModelInstance * | modelInstance () |
| virtual const DtModelInstance * | modelInstance () const |
| int | visualizerType () const |
| virtual bool | supportsMultithreadedLoad () |
| virtual void | backgroundLoad () |
| virtual void | foregroundLoad () |
| virtual bool | isActivelyBackgroundLoading () |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
Protected Attributes | |
| DtOsgSceneConnector * | mySceneConnector |
Protected Attributes inherited from makVrv::DtRotorWashModel | |
| DtSignalConnectionManager | myConnections |
| bool | myRotorWashStopped |
| DtUniqueID | myHelicopterID |
Protected Attributes inherited from makVrv::DtModel | |
| DtLoaderHandle * | myInLoadQueueHandle |
| DtDe & | myDe |
| const DtUniqueID | myUniqueId |
| bool | myColorBlendingEnabled |
| DtModelInstance * | myBackgroundModelInstance |
| float | myMinLastFrameDistance |
| TransformList | myTransforms |
| DtModelInstance * | myModelInstance |
| int | myModelSet |
| int | myVisualizerType |
| bool | myContributesToBound |
| DtUniqueID | myParentSceneObjectID |
| bool | myIsPropFlag |
| float | myBlendColor [4] |
| bool | myVisibleFlag |
| DtVector | myPositionOffset |
| DtTaitBryan | myOrientationOffset |
| std::string | myModelDefinitionName |
Private Member Functions | |
| DtOsgRotorWashModel (const DtOsgRotorWashModel &other) | |
| DtOsgRotorWashModel & | operator= (const DtOsgRotorWashModel &other) |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtModel | |
| boost::signalslib::signal < void(DtModel *)> | signal_modelToBeDestroyed |
| boost::signalslib::signal < void(DtModel *)> | signal_modelChanged |
| boost::signalslib::signal < bool(DtModel *, bool), SlotReturnOR > | signal_visibilityChangeRequested |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceCreated |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceToBeDestroyed |
Protected Types inherited from makVrv::DtModel | |
| typedef std::vector < ObjectTransform > | TransformList |
Static Protected Attributes inherited from makVrv::DtModel | |
| static bool | theInittedState |
| makVrv::DtOsgRotorWashModel::DtOsgRotorWashModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
Get the class name of the model instance owner. This is used to control how model instances are created.
Reimplemented from makVrv::DtRotorWashModel.
|
virtual |
Sets the position of the rotor wash.
Reimplemented from makVrv::DtModel.
|
protectedvirtual |
Attaches the model to the scene If this model has a modelinstance, it is attached to the scene.
Reimplemented from makVrv::DtRotorWashModel.
|
protectedvirtual |
Detaches the model to the scene If this model has a modelinstance, it is detached to the scene.
Reimplemented from makVrv::DtRotorWashModel.
|
protected |