![]() |
VR-Forces 5.0.1 Developer's Guide
|
A drop with a physical simulation of movement, merging, evaporation, etc.

Public Member Functions | |
| DtRaindropParticle (float px, float py, float pMass, double time, DtGridCell grid[][GRID_DIMENSION]) | |
| virtual | ~DtRaindropParticle () |
| virtual void | update (double time, double elapsedTime, DtGridCell grid[][GRID_DIMENSION], bool &destroyFlag) |
| virtual void | merge (double time, DtGridCell grid[][GRID_DIMENSION]) |
| virtual void | computeVelocity (double time, int gridX, int gridY, DtGridCell grid[][GRID_DIMENSION]) |
Public Member Functions inherited from makVrv::DtDropParticle | |
| DtDropParticle (float px, float py, float pMass, double time, DtGridCell grid[][GRID_DIMENSION]) | |
| virtual | ~DtDropParticle () |
| virtual void | setParent (DtDropParticle *drop) |
| virtual DtDropParticle * | parent () const |
| virtual float | mass () const |
| virtual void | setMass (float m) |
| virtual const Vector2_32 & | velocity () const |
| virtual void | affectedCells (std::vector< DtVector2< short > > &cells) const |
| virtual void | computeRadius (double waterOnScreenSize) |
| virtual void | gridPosition (int &gx, int &gy) const |
| virtual bool | mergeable () const |
| virtual float | x () const |
| virtual float | y () const |
| virtual float | radius () const |
| virtual int | type () const |
| virtual float | intensity (void) const |
Protected Attributes | |
| std::vector< DtVector2< short > > | myCollisionsScratchPad |
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 |
Private Member Functions | |
| DtRaindropParticle () | |
| DtRaindropParticle (const DtRaindropParticle &) | |
| DtRaindropParticle & | operator= (const DtRaindropParticle &) |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtDropParticle | |
| static void | precomputeDropletNormalsIfNeeded () |
| static const void * | precomputedDropletNormalsDataPointer (void) |
Static Protected Attributes inherited from makVrv::DtDropParticle | |
| static DtVector4< unsigned int > | thePrecomputedDropletNormals [PRECOMPUTED_DIM][PRECOMPUTED_DIM] |
| static bool | myDropletInitialized |
| makVrv::DtRaindropParticle::DtRaindropParticle | ( | float | px, |
| float | py, | ||
| float | pMass, | ||
| double | time, | ||
| DtGridCell | grid[][GRID_DIMENSION] | ||
| ) |
default CTOR.
|
private |
private default constructor. not allowed.
|
private |
prevent copy-construction
|
virtual |
default DTOR.
|
private |
prevent assignment
|
virtual |
Update the particle.
Implements makVrv::DtDropParticle.
|
virtual |
Combine drops covered by this drop.
|
virtual |
Update the drop's direction and acceleration.
|
protected |