RavEngine
Loading...
Searching...
No Matches
physx::PxFEMClothMaterial Class Referenceabstract

Material class to represent a set of FEM material properties. More...

#include <PxFEMClothMaterial.h>

Inheritance diagram for physx::PxFEMClothMaterial:
[legend]
Collaboration diagram for physx::PxFEMClothMaterial:
[legend]

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
 

Detailed Description

Material class to represent a set of FEM material properties.

See also
PxPhysics.createFEMClothMaterial

Member Function Documentation

◆ getBendingDamping()

virtual PxReal physx::PxFEMClothMaterial::getBendingDamping ( ) const
pure virtual

Retrieves the bending coefficient for bending constraints.

Returns
The bending coefficient.
See also
setBendingDamping()

◆ getConcreteTypeName()

virtual const char * physx::PxFEMClothMaterial::getConcreteTypeName ( ) const
inlinevirtual

Returns string name of dynamic type.

Returns
Class name of most derived type of this object.

Implements physx::PxBase.

◆ getElasticityDamping()

virtual PxReal physx::PxFEMClothMaterial::getElasticityDamping ( ) const
pure virtual

Retrieves the elasticity damping term.

Returns
The elasticity damping term.
See also
setElasticityDamping()

◆ getThickness()

virtual PxReal physx::PxFEMClothMaterial::getThickness ( ) const
pure virtual

Retrieves the material thickness.

Returns
thickness.
See also
setDamping()

◆ isKindOf()

virtual bool physx::PxFEMClothMaterial::isKindOf ( const char *  superClass) const
inlineprotectedvirtual

Returns whether a given type name matches with the type of this instance.

Reimplemented from physx::PxFEMMaterial.

◆ setBendingDamping()

virtual void physx::PxFEMClothMaterial::setBendingDamping ( PxReal  damping)
pure virtual

Sets the bending coefficient for bending constraints.

Parameters
[in]dampingThe bending coefficient. Range: [0.0, Inf)
See also
getBendingDamping()

◆ setElasticityDamping()

virtual void physx::PxFEMClothMaterial::setElasticityDamping ( PxReal  damping)
pure virtual

Sets the elasticity damping for the internal cloth solver.

Parameters
[in]dampingThe elasticity damping term. Range: [0.0, Inf)
See also
getElasticityDamping()

◆ setThickness()

virtual void physx::PxFEMClothMaterial::setThickness ( PxReal  thickness)
pure virtual

Sets material thickness.

Parameters
[in]thicknessMaterial thickness.
See also
getThickness

The documentation for this class was generated from the following file: