virtual ~FluidFrictionOperator()
float getOverrideRadius() const
Get the overriden radius value.
void setFluidToWater()
Set the fluid parameters as for pure water (20°C temperature).
void beginOperate(Program *prg)
Perform some initializations. Do not call this method manually.
FluidFrictionOperator & operator=(const FluidFrictionOperator &)
float getFluidViscosity() const
Get the viscosity of the fluid.
#define OSGPARTICLE_EXPORT
void setFluidToAir()
Set the fluid parameters as for air (20°C temperature).
void setFluidDensity(float d)
Set the density of the fluid.
void setOverrideRadius(float r)
Set the overriden radius value (pass 0 if you want to use particle's radius).
void setWind(const osg::Vec3 &wind)
Set the wind vector.
const osg::Vec3 & getWind() const
Get the wind vector.
void setFluidViscosity(float v)
Set the viscosity of the fluid.
float getFluidDensity() const
Get the density of the fluid.