RavEngine
Loading...
Searching...
No Matches
physx::Gu::SoftBodyAuxData Class Reference
Inheritance diagram for physx::Gu::SoftBodyAuxData:
[legend]
Collaboration diagram for physx::Gu::SoftBodyAuxData:
[legend]

Public Member Functions

 SoftBodyAuxData (SoftBodySimulationData &d, SoftBodyCollisionData &c, CollisionMeshMappingData &e)
 
virtual const char * getConcreteTypeName () const
 Returns string name of dynamic type.
 
virtual void acquireReference ()
 Acquires a counted reference to this object.
 
virtual PxU32 getReferenceCount () const
 Returns the reference count of the object.
 
virtual void release ()
 Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.
 
virtual void onRefCountZero ()
 
PX_FORCE_INLINE PxU32 getNbTetRemapSizeFast () const
 
PX_FORCE_INLINE PxReal * getGridModelInvMassFast ()
 
PX_FORCE_INLINE PxU32 getNbGMPartitionFast () const
 
PX_FORCE_INLINE PxU32 getGMRemapOutputSizeFast () const
 
PX_FORCE_INLINE PxU32 getGMMaxTetsPerPartitionsFast () const
 
PX_FORCE_INLINE PxU32 * getCollisionAccumulatedTetrahedronRefs () const
 
PX_FORCE_INLINE PxU32 * getCollisionTetrahedronRefs () const
 
PX_FORCE_INLINE PxU32 getCollisionNbTetrahedronRefs () const
 
PX_FORCE_INLINE PxU32 * getCollisionSurfaceVertToTetRemap () const
 
PX_FORCE_INLINE PxMat33 * getGridModelRestPosesFast ()
 
PX_FORCE_INLINE PxMat33 * getRestPosesFast ()
 
- 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.
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Public Attributes

float * mGridModelInvMass
 
PxMat33 * mGridModelTetraRestPoses
 
PxU32 * mGridModelOrderedTetrahedrons
 
PxU32 mGMNbPartitions
 
PxU32 mGMMaxMaxTetsPerPartitions
 
PxU32 mGMRemapOutputSize
 
PxU32 * mGMRemapOutputCP
 
PxU32 * mGMAccumulatedPartitionsCP
 
PxU32 * mGMAccumulatedCopiesCP
 
PxU32 * mCollisionAccumulatedTetrahedronsRef
 
PxU32 * mCollisionTetrahedronsReferences
 
PxU32 mCollisionNbTetrahedronsReferences
 
PxU8 * mCollisionSurfaceVertsHint
 
PxU32 * mCollisionSurfaceVertToTetRemap
 
PxReal * mVertsBarycentricInGridModel
 
PxU32 * mVertsRemapInGridModel
 
PxU32 * mTetsRemapColToSim
 
PxU32 mTetsRemapSize
 
PxU32 * mTetsAccumulatedRemapColToSim
 
PxU32 * mGMPullIndices
 
PxMat33 * mTetraRestPoses
 
PxU32 mNumTetsPerElement
 

Additional Inherited Members

- Protected Member Functions inherited from physx::PxSoftBodyAuxData
PX_INLINE PxSoftBodyAuxData (PxType concreteType, PxBaseFlags baseFlags)
 
PX_INLINE PxSoftBodyAuxData (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::PxRefCounted
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
 
- Protected Attributes inherited from physx::PxBase
PxType mConcreteType
 
PxBaseFlags mBaseFlags
 
PxU32 mBuiltInRefCount
 

Member Function Documentation

◆ acquireReference()

virtual void physx::Gu::SoftBodyAuxData::acquireReference ( )
inlinevirtual

Acquires a counted reference to this object.

This method increases the reference count of the object by 1. Decrement the reference count by calling release()

Implements physx::PxRefCounted.

◆ getConcreteTypeName()

virtual const char * physx::Gu::SoftBodyAuxData::getConcreteTypeName ( ) const
inlinevirtual

Returns string name of dynamic type.

Returns
Class name of most derived type of this object.

Implements physx::PxBase.

◆ getReferenceCount()

virtual PxU32 physx::Gu::SoftBodyAuxData::getReferenceCount ( ) const
inlinevirtual

Returns the reference count of the object.

At creation, the reference count of the object is 1. Every other object referencing this object increments the count by 1. When the reference count reaches 0, and only then, the object gets destroyed automatically.

Returns
the current reference count.

Implements physx::PxRefCounted.

◆ onRefCountZero()

virtual void physx::Gu::SoftBodyAuxData::onRefCountZero ( )
inlinevirtual

Reimplemented from physx::PxRefCounted.

◆ release()

virtual void physx::Gu::SoftBodyAuxData::release ( )
inlinevirtual

Decrements the reference count of a tetrahedron mesh and releases it if the new reference count is zero.

See also
PxPhysics.createTetrahedronMesh()

Implements physx::PxSoftBodyAuxData.


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