![]() |
VR-Forces 4.10 Class Documentation
|

Public Member Functions | |
| DtSplashParticle (float px, float py, float pMass, double time, DtGridCell grid[][GRID_DIMENSION], float pIntensity) | |
| constructor More... | |
| virtual | ~DtSplashParticle () |
| destructor More... | |
| virtual void | update (double time, double elapsedTime, DtGridCell grid[][GRID_DIMENSION], bool &destroyFlag) |
| update More... | |
| virtual int | type () const override |
| type (0) More... | |
| virtual float | intensity (void) const override |
| intensity More... | |
Public Member Functions inherited from makVrv::DtDropParticle | |
| DtDropParticle (float px, float py, float pMass, double time, DtGridCell grid[][GRID_DIMENSION]) | |
| constructor More... | |
| virtual | ~DtDropParticle () |
| destructor More... | |
| virtual void | setParent (DtDropParticle *drop) |
| If this drop was left behind from wetting from another drop, keep track of the parent drop. More... | |
| virtual DtDropParticle * | parent () const |
| virtual float | mass () const |
| set/get the mass More... | |
| virtual void | setMass (float m) |
| virtual const Vector2_32 & | velocity () const |
| get the velocity More... | |
| virtual void | affectedCells (std::vector< DtVector2< short > > &cells) const |
| Gets all screen grid cells covered by this drop. More... | |
| virtual void | computeRadius (double waterOnScreenSize) |
| compute radius More... | |
| virtual void | gridPosition (int &gx, int &gy) const |
| get the grid position More... | |
| virtual bool | mergeable () const |
| can this be merged with another particle? More... | |
| virtual float | x () const |
| get x More... | |
| virtual float | y () const |
| get y More... | |
| virtual float | radius () const |
| get radius More... | |
Static Public Member Functions | |
| static void | precomputeSplashNormalsIfNeeded () |
Static Public Member Functions inherited from makVrv::DtDropParticle | |
| static void | precomputeDropletNormalsIfNeeded () |
| Precompute a normal map for a drop. More... | |
| static const void * | precomputedDropletNormalsDataPointer (void) |
| accesss the grid of precomputed normals as a void* pointer (so that they can be copied into a gpu buffer for example) More... | |
Protected Attributes | |
| float | myIntensity |
Protected Attributes inherited from makVrv::DtDropParticle | |
| float | myX |
| float | myY |
| float | myRadius |
| float | myMass |
| float | myV0 |
| double | myT0 |
| float | myAcceleration |
| DtDropParticle * | myParent |
| Vector2_32 | myDirection |
| Vector2_32 | myVelocity |
| int | myLastGridX |
| int | myLastGridY |
| bool | myMergeable |
Static Protected Attributes | |
| static DtVector4< unsigned int > | thePrecomputedSplashNormals [PRECOMPUTED_DIM][PRECOMPUTED_DIM] |
| static bool | theSplashNormalsPrecomputed |
Static Protected Attributes inherited from makVrv::DtDropParticle | |
| static DtVector4< unsigned int > | thePrecomputedDropletNormals [PRECOMPUTED_DIM][PRECOMPUTED_DIM] |
| static bool | myDropletInitialized |
Private Member Functions | |
| DtSplashParticle ()=delete | |
| private default constructor. not allowed. More... | |
| DtSplashParticle (const DtSplashParticle &)=delete | |
| prevent copy-construction More... | |
| DtSplashParticle & | operator= (const DtSplashParticle &)=delete |
| prevent assignment More... | |
| makVrv::DtSplashParticle::DtSplashParticle | ( | float | px, |
| float | py, | ||
| float | pMass, | ||
| double | time, | ||
| DtGridCell | grid[][GRID_DIMENSION], | ||
| float | pIntensity | ||
| ) |
constructor
|
virtual |
destructor
|
privatedelete |
private default constructor. not allowed.
|
privatedelete |
prevent copy-construction
|
privatedelete |
prevent assignment
|
virtual |
update
Implements makVrv::DtDropParticle.
|
overridevirtual |
type (0)
Reimplemented from makVrv::DtDropParticle.
|
overridevirtual |
intensity
Reimplemented from makVrv::DtDropParticle.
|
static |
|
protected |
|
staticprotected |
|
staticprotected |