Inheritance diagram for osgParticle::FluidFrictionOperator:

Public Member Functions | |
| FluidFrictionOperator () | |
| FluidFrictionOperator (const FluidFrictionOperator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgParticle, FluidFrictionOperator) | |
| float | getFluidDensity () const |
| Get the density of the fluid. | |
| void | setFluidDensity (float d) |
| Set the density of the fluid. | |
| float | getFluidViscosity () const |
| Get the viscosity of the fluid. | |
| void | setFluidViscosity (float v) |
| Set the viscosity of the fluid. | |
| float | getOverrideRadius () const |
| Get the overriden radius value. | |
| void | setOverrideRadius (float r) |
| Set the overriden radius value (pass 0 if you want to use particle's radius). | |
| void | setFluidToAir () |
| Set the fluid parameters as for air (20°C temperature). | |
| void | setFluidToWater () |
| Set the fluid parameters as for pure water (20°C temperature). | |
| void | operate (Particle *P, double dt) |
| Apply the friction forces to a particle. Do not call this method manually. | |
| void | beginOperate (Program *prg) |
| Perform some initializations. Do not call this method manually. | |
Protected Member Functions | |
| virtual | ~FluidFrictionOperator () |
| FluidFrictionOperator & | operator= (const FluidFrictionOperator &) |
setOverrideRadius() method.
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Perform some initializations. Do not call this method manually.
Reimplemented from osgParticle::Operator. |
|
|
Get the density of the fluid.
|
|
|
Get the viscosity of the fluid.
|
|
|
Get the overriden radius value.
|
|
||||||||||||
|
|
|
||||||||||||
|
Apply the friction forces to a particle. Do not call this method manually.
Implements osgParticle::Operator. |
|
|
|
|
|
Set the density of the fluid.
|
|
|
Set the fluid parameters as for air (20°C temperature).
|
|
|
Set the fluid parameters as for pure water (20°C temperature).
|
|
|
Set the viscosity of the fluid.
|
|
|
Set the overriden radius value (pass 0 if you want to use particle's radius).
|
1.4.2