|
| | DtTritonWakeModelInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtTritonWakeModelInstance () |
| | DTOR. More...
|
| |
| virtual void | setVisible (bool isVisible) |
| | Set whether the wake is visible or not. More...
|
| |
| virtual void | setDefaultWakeOffset (double offset) |
| | Set a default value to use if setWakeOffset has not been called. More...
|
| |
| virtual void | setDefaultBowSprayOffset (double offset) |
| | Set a default value to use if setBowSprayOffset has not been called. More...
|
| |
| virtual void | setDefaultBowWaveOffset (double offset) |
| | Set a default value to use if setBowWaveOffset has not been called. More...
|
| |
| virtual void | setDefaultSternWaveOffset (double offset) |
| | Set a default value to use if setSternWaveOffset has not been called. More...
|
| |
| virtual void | setDefaultShipLength (double length) |
| | Set a default value to use if setHipLength has not been called. More...
|
| |
| virtual void | setDefaultBeamWidth (double width) |
| | Set a default value to use if setBeamWidth has not been called. More...
|
| |
| virtual void | setDefaultDraft (double draft) |
| | Set a default value to use if setDraft has not been called. More...
|
| |
| virtual void | setDefaultPropWashOffset (double offset) |
| | Set a default value to use if setPropWashOffset has not been called. More...
|
| |
| virtual void | setDefaultPropWashFadeTime (double fadeTime) |
| | Set a default value to use if setPropWashFadeTime has not been called. More...
|
| |
| virtual void | setDefaultSprayVelocityScale (double scale) |
| | Set a default value to use if setSprayVelocityScale has not been called. More...
|
| |
| virtual void | setDefaultBowWaveScale (double scale) |
| | Set a default value to use if setBowWaveScale has not been called. More...
|
| |
| virtual void | setDefaultMaxBowWaveAmplitude (double amplitude) |
| | Set a default value to use if setMaxBowWaveAmplitude has not been called. More...
|
| |
| virtual void | setDefaultBowSize (double size) |
| | Set a default value to use if setBowSize has not been called. More...
|
| |
| virtual void | setDefaultSpraySizeScale (double scale) |
| | Set a default value to use if setSpraySizeScale has not been called. More...
|
| |
| virtual void | setDefaultNumHullSprays (int sprays) |
| | Set a default value to use if setNumHullSprays has not been called. More...
|
| |
| virtual void | setDefaultHullSpraySizeScale (double scale) |
| | Set a default value to use if setHullSpraySizeScale has not been called. More...
|
| |
| virtual void | setDefaultHullSprayVelocityScale (double scale) |
| | Set a default value to use if setHullSprayVelocityScale has not been called. More...
|
| |
| virtual void | setDefaultHullSprayStart (double extent) |
| | Set a default value to use if setHullSprayStart has not been called. More...
|
| |
| virtual void | setDefaultHullSprayEnd (double extent) |
| | Set a default value to use if setHullSprayEnd has not been called. More...
|
| |
| virtual void | setDefaultHullSprayVerticalOffset (double offset) |
| | Set a default value to use if setHullSprayVerticalOffset has not been called. More...
|
| |
| virtual bool | contributesToBound () const |
| | Get whether this model instance contributes to an object's overall bounding volume - in this, returns false. More...
|
| |
|
| virtual void | setSprayEnabled (bool b) |
| | Set/Get whether spray is enabled at the bow of the ship and along the hull. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| virtual double | bowSprayOffset () const |
| |
|
| virtual void | setBowWaveOffset (double offset) |
| | Set/get the distance from the wake origin to where the bow wake wave appear. More...
|
| |
| virtual double | bowWaveOffset () const |
| |
|
| virtual void | setSternWaveOffset (double offset) |
| | Set/get the distance from the wake origin to where the stern wake waves appear. More...
|
| |
| virtual double | sternWaveOffset () const |
| |
|
| virtual void | setShipLength (double length) |
| | Set/get the length of the ship. More...
|
| |
| virtual double | shipLength () const |
| |
|
| virtual void | setBeamWidth (double width) |
| | Set/get the beamwidth (widest point) of the ship. More...
|
| |
| virtual double | beamWidth () const |
| |
|
| virtual void | setPropWashEnabled (bool b) |
| | Set/get whether prop wash effects are enabled. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| virtual double | propWashFadeTime () const |
| |
|
| virtual void | setDraft (double draft) |
| | Set/get the draft, or the distance the hull extends underwater. More...
|
| |
| virtual double | draft () const |
| |
|
| virtual void | setSprayVelocityScale (double scale) |
| | Set/get the scaling for velocity of bow spray effects. More...
|
| |
| virtual double | sprayVelocityScale () const |
| |
|
| virtual void | setBowWaveScale (double scale) |
| | Set/get the scaling for bow wave effects. More...
|
| |
| virtual double | bowWaveScale () const |
| |
|
| virtual void | setMaxBowWaveAmplitude (double amplitude) |
| | Set/get the max amplitude for bow waves. More...
|
| |
| virtual double | maxBowWaveAmplitude () const |
| |
|
| virtual void | setBowSize (double size) |
| | Set/get the size of the bow (0 for a pointy one.) More...
|
| |
| virtual double | bowSize () const |
| |
|
| virtual void | setSpraySizeScale (double scale) |
| | Set/get the scaling for size of bow spray effects. More...
|
| |
| virtual double | spraySizeScale () const |
| |
|
| virtual void | setNumHullSprays (int numSprays) |
| | Set/get the number of spray particle systems emitted along the hull of the ship. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| virtual double | hullSprayEndOffset () const |
| |
|
| virtual void | setHullSprayVerticalOffset (double scale) |
| | Set/get the vertical offset of hull spray particle origin points. More...
|
| |
| virtual double | hullSprayVerticalOffset () const |
| |
|
| virtual void | setHullSprayVelocityScale (double scale) |
| | Set/get the scaling applied to hull spray particle sizes. More...
|
| |
| 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. More...
|
| |
| virtual double | hullSpraySizeScale () const |
| |
| | DtModelInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtModelInstance () |
| | DTOR. More...
|
| |
| virtual bool | realize (DtModelDefinition &definition) |
| | Attempt to realize a definition. More...
|
| |
| virtual bool | cloneInstance (DtModelDefinition &definition) |
| | Attempt to clone the basic geometry. More...
|
| |
| const std::string & | realizedDefinitionName () const |
| | Get the name of the definition that this model instance was realized with. More...
|
| |
| virtual bool | saveModelToFile (const std::string &filename) const |
| | Attempt to save the model to a file. More...
|
| |
| const DtVector & | boundingBoxExtents () const |
| | Get the bounding box extents of the model instance. More...
|
| |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| | Get the bounding box extents of the model instance. More...
|
| |
| const DtVector & | boundingBoxCenter () const |
| | Get the bounding box center of the model instance. More...
|
| |
| void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| | Get the bounding box center of the model instance. More...
|
| |
| void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| | Get the bounding box min/max of the model instance. More...
|
| |
| const DtVector & | allGeometryboundingBoxExtents () const |
| | functions for getting the allGeometry versions of the extents (they are calculated by traversing as if all switch paths are active) More...
|
| |
| void | getAllGeometryBoundingBoxExtents (double &x, double &y, double &z) const |
| | Get the all geometry version of bounding box extents of the model instance. More...
|
| |
| const DtVector & | allGeometryboundingBoxCenter () const |
| | Get the all geometry version of bounding box center of the model instance. More...
|
| |
| void | getAllGeometryBoundingBoxCenter (double &x, double &y, double &z) const |
| | Get the all geometry version of bounding box center of the model instance. More...
|
| |
| void | getAllGeometryBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| | Get the all geometry version of bounding box min/max of the model instance. More...
|
| |
| virtual void | setContributesToBound (bool trueOrFalse) |
| | Set whether this model instance contributes to an object's overall bounding volume. More...
|
| |
| bool | contributesToBound () const |
| | Get whether this model instance contributes to an object's overall bounding volume. More...
|
| |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| | set the model's color More...
|
| |
| 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. More...
|
| |
Implementation of a Triton wake model.
DtTritonWakeModelInstance provides the implementation of a Kelvin wake effect represented by a DtTritonWakeModel, using the Triton Ocean interface.