![]() |
VR-Forces 5.0.1 Developer's Guide
|
The (abstract) interface for a model of a Kelvin wake.

Public Member Functions | |
| DtWakeModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtWakeModel () |
| virtual void | setModelDefinition (const std::string &def)=0 |
| virtual void | setSprayEnabled (bool b)=0 |
| virtual void | setSternWaveEnabled (bool b)=0 |
| virtual void | setWakeOffset (double offset)=0 |
| virtual void | setBowSprayOffset (double offset)=0 |
| virtual void | setBowWaveOffset (double offset)=0 |
| virtual void | setSternWaveOffset (double offset)=0 |
| virtual void | setShipLength (double length)=0 |
| virtual void | setBeamWidth (double width)=0 |
| virtual void | setPropWashEnabled (bool b)=0 |
| virtual void | setPropWashOffset (double offset)=0 |
| virtual void | setPropWashFadeTime (double fadeTime)=0 |
| virtual void | setDraft (double draft)=0 |
| virtual void | setSprayVelocityScale (double scale)=0 |
| virtual void | setBowWaveScale (double scale)=0 |
| virtual void | setMaxBowWaveAmplitude (double amplitude)=0 |
| virtual void | setBowSize (double size)=0 |
| virtual void | setSpraySizeScale (double scale)=0 |
| virtual void | setNumHullSprays (int numSprays)=0 |
| virtual void | setHullSprayStart (double extent)=0 |
| virtual void | setHullSprayEnd (double extent)=0 |
| virtual void | setHullSprayVelocityScale (double scale)=0 |
| virtual void | setHullSpraySizeScale (double scale)=0 |
| virtual void | setHullSprayVerticalOffset (double offset)=0 |
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) |
| virtual const std::string & | className () const |
| unsigned int | transformSize () const |
| virtual void | setPosition (int vtx, const DtVector &position) |
| 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 void | setVisible (bool isVisible) |
| 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 | setIsSupportModel (bool isSupport)=0 |
| 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 () |
| makVrv::DtWakeModel::DtWakeModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
pure virtual |
Override the set model definition function. Use this to parse a model after it is loaded.
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Enable or disable spray at the bow and hull of the ship.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Enable or disable a stern wave.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the distance from the center of the ship to the origin point of the circles use to generate the wake.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the distance from the wake origin to where the spray appears, if enabled.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the distance from the wake origin to where the bow wake appears.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the distance from the wake origin to where the stern wakes appear.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the length of the ship.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the beam width (widest point) of the ship.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set whether prop wash effects are enabled.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the distance from the wake origin to where the prop wash appears, if enabled.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the amount of time, in seconds, over which the prop wash will dissipate.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the draft, or the distance the hull extends underwater. Used to influence the bow wake.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the velocity scaling for bow spray effects.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the scaling for bow wave effects.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the max amplitude for bow waves.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the size of the bow (0 for a pointy one.)
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the particle size scaling for size of bow spray effects.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the number of spray particle systems emitted along the hull of the ship.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the start offset along the vector toward the ship's bow that hull spray particles are emitted.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the end offset along the vector toward the ship's bow that hull spray particles are emitted.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the initial velocity of hull spray particles as a percent of the ship velocity.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the initial size of hull spray particles.
Implemented in makVrv::DtTritonWakeModel.
|
pure virtual |
Set the initial vertical offset of hull spray particles.
Implemented in makVrv::DtTritonWakeModel.