|
RavEngine
|
Material class to represent a set of FEM material properties. More...
#include <PxFEMClothMaterial.h>
Public Member Functions | |
| virtual void | setThickness (PxReal thickness)=0 |
| Sets material thickness. | |
| virtual PxReal | getThickness () const =0 |
| Retrieves the material thickness. | |
| virtual void | setElasticityDamping (PxReal damping)=0 |
| Sets the elasticity damping for the internal cloth solver. | |
| virtual PxReal | getElasticityDamping () const =0 |
| Retrieves the elasticity damping term. | |
| virtual void | setBendingDamping (PxReal damping)=0 |
| Sets the bending coefficient for bending constraints. | |
| virtual PxReal | getBendingDamping () const =0 |
| Retrieves the bending coefficient for bending constraints. | |
| virtual const char * | getConcreteTypeName () const |
| Returns string name of dynamic type. | |
Public Member Functions inherited from physx::PxFEMMaterial | |
| virtual void | setYoungsModulus (PxReal young)=0 |
| Sets young's modulus which defines the body's stiffness. | |
| virtual PxReal | getYoungsModulus () const =0 |
| Retrieves the young's modulus value. | |
| virtual void | setPoissons (PxReal poisson)=0 |
| Sets the Poisson's ratio which defines the body's volume preservation. Completely incompressible materials have a poisson ratio of 0.5. Its value should not be set to exactly 0.5 because this leads to numerical problems. | |
| virtual PxReal | getPoissons () const =0 |
| Retrieves the Poisson's ratio. | |
| virtual void | setDynamicFriction (PxReal dynamicFriction)=0 |
| Sets the dynamic friction value which defines the strength of resistance when two objects slide relative to each other while in contact. | |
| virtual PxReal | getDynamicFriction () const =0 |
| Retrieves the dynamic friction value. | |
Public Member Functions inherited from physx::PxBaseMaterial | |
| PX_INLINE | PxBaseMaterial (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxBaseMaterial (PxBaseFlags baseFlags) |
Public Member Functions inherited from physx::PxRefCounted | |
| virtual void | release ()=0 |
| Decrements the reference count of the object and releases it if the new reference count is zero. | |
| virtual PxU32 | getReferenceCount () const =0 |
| Returns the reference count of the object. | |
| virtual void | acquireReference ()=0 |
| Acquires a counted reference to this object. | |
Public Member Functions inherited from physx::PxBase | |
| template<class T > | |
| T * | is () |
| template<class T > | |
| const T * | is () const |
| PX_FORCE_INLINE PxType | getConcreteType () const |
| Returns concrete type of object. | |
| PX_FORCE_INLINE void | setBaseFlag (PxBaseFlag::Enum flag, bool value) |
| Set PxBaseFlag | |
| PX_FORCE_INLINE void | setBaseFlags (PxBaseFlags inFlags) |
| Set PxBaseFlags | |
| PX_FORCE_INLINE PxBaseFlags | getBaseFlags () const |
| Returns PxBaseFlags. | |
| virtual bool | isReleasable () const |
| Whether the object is subordinate. | |
Protected Member Functions | |
| PX_INLINE | PxFEMClothMaterial (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxFEMClothMaterial (PxBaseFlags baseFlags) |
| virtual bool | isKindOf (const char *name) const |
| Returns whether a given type name matches with the type of this instance. | |
Protected Member Functions inherited from physx::PxFEMMaterial | |
| PX_INLINE | PxFEMMaterial (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxFEMMaterial (PxBaseFlags baseFlags) |
Protected Member Functions inherited from physx::PxRefCounted | |
| virtual void | onRefCountZero () |
| PX_INLINE | PxRefCounted (PxType concreteType, PxBaseFlags baseFlags) |
| PX_INLINE | PxRefCounted (PxBaseFlags baseFlags) |
Protected Member Functions inherited from physx::PxBase | |
| PX_INLINE | PxBase (PxType concreteType, PxBaseFlags baseFlags) |
| Constructor setting concrete type and base flags. | |
| PX_INLINE | PxBase (PxBaseFlags baseFlags) |
| Deserialization constructor setting base flags. | |
| virtual | ~PxBase () |
| Destructor. | |
| template<class T > | |
| bool | typeMatch () const |
Additional Inherited Members | |
Public Attributes inherited from physx::PxBaseMaterial | |
| void * | userData |
| user can assign this to whatever, usually to create a 1:1 relationship with a user object. | |
Protected Attributes inherited from physx::PxBase | |
| PxType | mConcreteType |
| PxBaseFlags | mBaseFlags |
| PxU32 | mBuiltInRefCount |
Material class to represent a set of FEM material properties.
|
pure virtual |
Retrieves the bending coefficient for bending constraints.
|
inlinevirtual |
Returns string name of dynamic type.
Implements physx::PxBase.
|
pure virtual |
Retrieves the elasticity damping term.
|
pure virtual |
Retrieves the material thickness.
|
inlineprotectedvirtual |
Returns whether a given type name matches with the type of this instance.
Reimplemented from physx::PxFEMMaterial.
|
pure virtual |
Sets the bending coefficient for bending constraints.
| [in] | damping | The bending coefficient. Range: [0.0, Inf) |
|
pure virtual |
Sets the elasticity damping for the internal cloth solver.
| [in] | damping | The elasticity damping term. Range: [0.0, Inf) |
|
pure virtual |