#include <PxParticleFluid.h>


Public Member Functions | |
| virtual const char * | getConcreteTypeName () const | 
| Returns string name of dynamic type.   | |
Particle Access and Manipulation  | |
| virtual PxParticleFluidReadData * | lockParticleFluidReadData (PxDataAccessFlags flags)=0 | 
| Locks the particle data and provides the data descriptor for accessing the particles including fluid particle densities.   | |
| virtual PxParticleFluidReadData * | lockParticleFluidReadData ()=0 | 
| Locks the particle data and provides the data descriptor for accessing the particles including fluid particle densities.   | |
Particle Fluid Parameters  | |
| virtual PxReal | getStiffness () const =0 | 
| Returns the fluid stiffness.   | |
| virtual void | setStiffness (PxReal stiffness)=0 | 
| Sets the fluid stiffness (must be positive).   | |
| virtual PxReal | getViscosity () const =0 | 
| Returns the fluid viscosity.   | |
| virtual void | setViscosity (PxReal viscosity)=0 | 
| Sets the fluid viscosity (must be positive).   | |
Particle Fluid Property Read Back  | |
| virtual PxReal | getRestParticleDistance () const =0 | 
| Returns the typical distance of particles in the relaxed state of the fluid.   | |
Particle Fluid Parameters  | |
| virtual void | setRestParticleDistance (PxReal restParticleDistance)=0 | 
| Sets the typical distance of particles in the relaxed state of the fluid.   | |
Protected Member Functions | |
| PX_INLINE | PxParticleFluid (PxType concreteType, PxBaseFlags baseFlags) | 
| PX_INLINE | PxParticleFluid (PxBaseFlags baseFlags) | 
| virtual | ~PxParticleFluid () | 
| virtual bool | isKindOf (const char *name) const | 
| Returns whether a given type name matches with the type of this instance.   | |
There are two kinds of particle interaction forces which govern the behaviour of the fluid:
For a good introduction to SPH fluid simulation, see http://www.matthiasmueller.info/publications/sca03.pdf
| PX_INLINE PxParticleFluid::PxParticleFluid | ( | PxType | concreteType, | |
| PxBaseFlags | baseFlags | |||
| ) |  [inline, protected] | 
        
| PX_INLINE PxParticleFluid::PxParticleFluid | ( | PxBaseFlags | baseFlags | ) |  [inline, protected] | 
        
| virtual PxParticleFluid::~PxParticleFluid | ( | ) |  [inline, protected, virtual] | 
        
| virtual const char* PxParticleFluid::getConcreteTypeName | ( | ) |  const [inline, virtual] | 
        
Returns string name of dynamic type.
Implements PxBase.
| virtual PxReal PxParticleFluid::getRestParticleDistance | ( | ) |  const [pure virtual] | 
        
Returns the typical distance of particles in the relaxed state of the fluid.
| virtual PxReal PxParticleFluid::getStiffness | ( | ) |  const [pure virtual] | 
        
Returns the fluid stiffness.
| virtual PxReal PxParticleFluid::getViscosity | ( | ) |  const [pure virtual] | 
        
Returns the fluid viscosity.
| virtual bool PxParticleFluid::isKindOf | ( | const char * | superClass | ) |  const [inline, protected, virtual] | 
        
Returns whether a given type name matches with the type of this instance.
Reimplemented from PxParticleBase.
References PxParticleBase::isKindOf().
| virtual PxParticleFluidReadData* PxParticleFluid::lockParticleFluidReadData | ( | ) |  [pure virtual] | 
        
Locks the particle data and provides the data descriptor for accessing the particles including fluid particle densities.
| virtual PxParticleFluidReadData* PxParticleFluid::lockParticleFluidReadData | ( | PxDataAccessFlags | flags | ) |  [pure virtual] | 
        
Locks the particle data and provides the data descriptor for accessing the particles including fluid particle densities.
| virtual void PxParticleFluid::setRestParticleDistance | ( | PxReal | restParticleDistance | ) |  [pure virtual] | 
        
Sets the typical distance of particles in the relaxed state of the fluid.
| restParticleDistance | The new restParticleDistance of the fluid. | 
| virtual void PxParticleFluid::setStiffness | ( | PxReal | stiffness | ) |  [pure virtual] | 
        
Sets the fluid stiffness (must be positive).
| stiffness | The new fluid stiffness. | 
| virtual void PxParticleFluid::setViscosity | ( | PxReal | viscosity | ) |  [pure virtual] | 
        
Sets the fluid viscosity (must be positive).
| viscosity | The new viscosity of the fluid. |