Public Member Functions |
| | DtTritonWakeModelInstance (DtDe &de) |
| | CTOR.
|
| virtual | ~DtTritonWakeModelInstance () |
| | DTOR.
|
| virtual void | setVisible (bool isVisible) |
| | Set whether the wake is visible or not.
|
| virtual void | setDefaultWakeOffset (double offset) |
| | Set a default value to use if setWakeOffset has not been called.
|
| virtual void | setDefaultBowSprayOffset (double offset) |
| | Set a default value to use if setBowSprayOffset has not been called.
|
| virtual void | setDefaultBowWaveOffset (double offset) |
| | Set a default value to use if setBowWaveOffset has not been called.
|
| virtual void | setDefaultSternWaveOffset (double offset) |
| | Set a default value to use if setSternWaveOffset has not been called.
|
| virtual void | setDefaultShipLength (double length) |
| | Set a default value to use if setHipLength has not been called.
|
| virtual void | setDefaultBeamWidth (double width) |
| | Set a default value to use if setBeamWidth has not been called.
|
| virtual void | setDefaultDraft (double draft) |
| | Set a default value to use if setDraft has not been called.
|
| virtual void | setDefaultPropWashOffset (double offset) |
| | Set a default value to use if setPropWashOffset has not been called.
|
| virtual void | setDefaultPropWashFadeTime (double fadeTime) |
| | Set a default value to use if setPropWashFadeTime has not been called.
|
| virtual void | setDefaultSprayVelocityScale (double scale) |
| | Set a default value to use if setSprayVelocityScale has not been called.
|
| virtual void | setDefaultBowWaveScale (double scale) |
| | Set a default value to use if setBowWaveScale has not been called.
|
| virtual void | setDefaultMaxBowWaveAmplitude (double amplitude) |
| | Set a default value to use if setMaxBowWaveAmplitude has not been called.
|
| virtual void | setDefaultBowSize (double size) |
| | Set a default value to use if setBowSize has not been called.
|
| virtual void | setDefaultSpraySizeScale (double scale) |
| | Set a default value to use if setSpraySizeScale has not been called.
|
| virtual void | setDefaultNumHullSprays (int sprays) |
| | Set a default value to use if setNumHullSprays has not been called.
|
| virtual void | setDefaultHullSpraySizeScale (double scale) |
| | Set a default value to use if setHullSpraySizeScale has not been called.
|
| virtual void | setDefaultHullSprayVelocityScale (double scale) |
| | Set a default value to use if setHullSprayVelocityScale has not been called.
|
| virtual void | setDefaultHullSprayStart (double extent) |
| | Set a default value to use if setHullSprayStart has not been called.
|
| virtual void | setDefaultHullSprayEnd (double extent) |
| | Set a default value to use if setHullSprayEnd has not been called.
|
| virtual void | setDefaultHullSprayVerticalOffset (double offset) |
| | Set a default value to use if setHullSprayVerticalOffset has not been called.
|
| bool | contributesToBound () const |
| | Get whether this model instance contributes to an object's overall bounding volume - in this, returns false.
|
|
| virtual void | setSprayEnabled (bool b) |
| | Set/Get whether spray is enabled at the bow of the ship and along the hull.
|
| virtual bool | sprayEnabled () const |
|
| virtual void | setSternWaveEnabled (bool b) |
| | Set/Get whether a stern wave is enabled at the stern of the ship (you will undoubtedly also need to setSternWaveOffset.
|
| virtual bool | sternWaveEnabled () const |
|
| virtual void | setWakeOffset (double offset) |
| | Set/get an offset to the ship position that all wake effects are positioned relative to.
|
| virtual double | wakeOffset () const |
|
| virtual void | setBowSprayOffset (double offset) |
| | Set/get the distance from the wake origin to where the spray at the bow appears, if enabled.
|
| virtual double | bowSprayOffset () const |
|
| virtual void | setBowWaveOffset (double offset) |
| | Set/get the distance from the wake origin to where the bow wake wave appear.
|
| virtual double | bowWaveOffset () const |
|
| virtual void | setSternWaveOffset (double offset) |
| | Set/get the distance from the wake origin to where the stern wake waves appear.
|
| virtual double | sternWaveOffset () const |
|
| virtual void | setShipLength (double length) |
| | Set/get the length of the ship.
|
| virtual double | shipLength () const |
|
| virtual void | setBeamWidth (double width) |
| | Set/get the beamwidth (widest point) of the ship.
|
| virtual double | beamWidth () const |
|
| virtual void | setPropWashEnabled (bool b) |
| | Set/get whether prop wash effects are enabled.
|
| virtual bool | propWashEnabled () const |
|
| virtual void | setPropWashOffset (double offset) |
| | Set/get the distance from the wake origin to where the prop wash appears, if enabled.
|
| virtual double | propWashOffset () const |
|
| virtual void | setPropWashFadeTime (double fadeTime) |
| | Set/get the amount of time, in seconds, over which the prop wash will dissipate., if enabled.
|
| virtual double | propWashFadeTime () const |
|
| virtual void | setDraft (double draft) |
| | Set/get the draft, or the distance the hull extends underwater.
|
| virtual double | draft () const |
|
| virtual void | setSprayVelocityScale (double scale) |
| | Set/get the scaling for velocity of bow spray effects.
|
| virtual double | sprayVelocityScale () const |
|
| virtual void | setBowWaveScale (double scale) |
| | Set/get the scaling for bow wave effects.
|
| virtual double | bowWaveScale () const |
|
| virtual void | setMaxBowWaveAmplitude (double amplitude) |
| | Set/get the max amplitude for bow waves.
|
| virtual double | maxBowWaveAmplitude () const |
|
| virtual void | setBowSize (double size) |
| | Set/get the size of the bow (0 for a pointy one.)
|
| virtual double | bowSize () const |
|
| virtual void | setSpraySizeScale (double scale) |
| | Set/get the scaling for size of bow spray effects.
|
| virtual double | spraySizeScale () const |
|
| virtual void | setNumHullSprays (int numSprays) |
| | Set/get the number of spray particle systems emitted along the hull of the ship.
|
| virtual int | numHullSprays () const |
|
| virtual void | setHullSprayStartOffset (double offset) |
| | Set/get the start position along the vector toward the ship's bow that hull spray particles begin at.
|
| virtual double | hullSprayStartOffset () const |
|
| virtual void | setHullSprayEndOffset (double offset) |
| | Set/get the start position along the vector toward the ship's bow that hull spray particles end at.
|
| virtual double | hullSprayEndOffset () const |
|
| virtual void | setHullSprayVerticalOffset (double scale) |
| | Set/get the vertical offset of hull spray particle origin points.
|
| virtual double | hullSprayVerticalOffset () const |
|
| virtual void | setHullSprayVelocityScale (double scale) |
| | Set/get the scaling applied to hull spray particle sizes.
|
| virtual double | hullSprayVelocityScale () const |
|
| virtual void | setHullSpraySizeScale (double scale) |
| | Set/get the initial velocity of hull spray particles as a percent of the bow spray velocity.
|
| virtual double | hullSpraySizeScale () const |
| | DtModelInstance (DtDe &de) |
| | CTOR.
|
| virtual | ~DtModelInstance () |
| | DTOR.
|
| virtual bool | realize (DtModelDefinition &definition) |
| | Attempt to realize a definition.
|
| const std::string & | realizedDefinitionName () const |
| | Get the name of the definition that this model instance was realized with.
|
| virtual bool | saveModelToFile (const std::string &filename) const |
| | Attempt to save the model to a file.
|
| const DtVector & | boundingBoxExtents () const |
| | Get the bounding box extents of the model instance.
|
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| | Get the bounding box extents of the model instance.
|
| const DtVector & | boundingBoxCenter () const |
| | Get the bounding box center of the model instance.
|
| void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| | Get the bounding box center of the model instance.
|
| void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| virtual void | setContributesToBound (bool trueOrFalse) |
| | Set whether this model instance contributes to an object's overall bounding volume.
|
| virtual void | setBlendColor (float r, float g, float b, float a) |
| | set the model's color
|
| virtual void | enableColorBlending (bool b) |
| | Enable / disable coloring on all models in the scene object Note about enableColorBlending: If this particular model has instancing enabled then this flag is set to false and color blending is handled by the instance manager.
|
Implementation of a Triton wake model.
DtTritonWakeModelInstance provides the implementation of a Kelvin wake effect represented by a DtTritonWakeModel, using the Triton Ocean interface.