29#ifndef PX_PBD_MATERIAL_H
30#define PX_PBD_MATERIAL_H
35#include "PxParticleMaterial.h"
209 PX_INLINE PxPBDMaterial(PxBaseFlags baseFlags) : PxParticleMaterial(baseFlags) {}
210 virtual ~PxPBDMaterial() {}
222 PX_INLINE PxCustomMaterial(PxBaseFlags baseFlags) : PxParticleMaterial(baseFlags) {}
223 virtual ~PxCustomMaterial() {}
Definition PxPBDMaterial.h:215
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxPBDMaterial.h:224
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition PxPBDMaterial.h:218
Material class to represent a set of PBD particle material properties.
Definition PxPBDMaterial.h:49
virtual PxReal getViscosity() const =0
Retrieves the viscosity value.
virtual PxReal getParticleFrictionScale() const =0
Retrieves the particle friction scale.
virtual void setViscosity(PxReal viscosity)=0
Sets viscosity.
virtual PxReal getLift() const =0
Retrieves the lift coefficient.
virtual PxReal getCFLCoefficient() const =0
Retrieves the CFL coefficient.
virtual void setParticleFrictionScale(PxReal scale)=0
Sets material particle friction scale. This allows the application to scale up/down the frictional ef...
virtual void setParticleAdhesionScale(PxReal adhesion)=0
Sets material particle adhesion scale value. This is the adhesive value between particles defined as ...
virtual void setVorticityConfinement(PxReal vorticityConfinement)=0
Sets material vorticity confinement coefficient.
virtual PxReal getParticleAdhesionScale() const =0
Retrieves the particle adhesion scale value.
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxPBDMaterial.h:211
virtual PxReal getCohesion() const =0
Retrieves the cohesion coefficient.
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition PxPBDMaterial.h:205
virtual PxReal getVorticityConfinement() const =0
Retrieves the vorticity confinement coefficient.
virtual void setCFLCoefficient(PxReal coefficient)=0
Sets the CFL coefficient.
virtual PxReal getSurfaceTension() const =0
Retrieves the surface tension coefficient.
virtual void setDrag(PxReal drag)=0
Sets material drag coefficient.
virtual void setLift(PxReal lift)=0
Sets material lift coefficient.
virtual void setSurfaceTension(PxReal surfaceTension)=0
Sets material surface tension coefficient.
virtual void setCohesion(PxReal cohesion)=0
Sets material cohesion coefficient.
virtual PxReal getDrag() const =0
Retrieves the drag coefficient.
Material class to represent a set of particle material properties.
Definition PxParticleMaterial.h:50
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxParticleMaterial.h:144
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39