|
| | DtRaindropParticle (float px, float py, float pMass, double time, DtGridCell grid[][GRID_DIMENSION]) |
| | default CTOR. More...
|
| |
| virtual | ~DtRaindropParticle () |
| | default DTOR. More...
|
| |
| virtual void | update (double time, double elapsedTime, DtGridCell grid[][GRID_DIMENSION], bool &destroyFlag) |
| | Update the particle. More...
|
| |
| virtual void | merge (double time, DtGridCell grid[][GRID_DIMENSION]) |
| | Combine drops covered by this drop. More...
|
| |
| virtual void | computeVelocity (double time, int gridX, int gridY, DtGridCell grid[][GRID_DIMENSION]) |
| | Update the drop's direction and acceleration. 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 osg::Vec2f & | velocity () const |
| | get the velocity More...
|
| |
| virtual void | affectedCells (std::vector< osg::Vec2s > &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 void | renderToNormalMap (osg::Image *image) |
| | Draw the droplet into the normal map for postprocessing. More...
|
| |
| virtual bool | mergeable () const |
| | can this be merged with another particle? More...
|
| |
| virtual unsigned int | precomputedDropletTexel (float x, float y) |
| |
A drop with a physical simulation of movement, merging, evaporation, etc.