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

Public Member Functions

 PxParticleClothCookerImpl (PxU32 vertexCount, physx::PxVec4 *inVertices, PxU32 triangleIndexCount, PxU32 *inTriangleIndices, PxU32 constraintTypeFlags, PxVec3 verticalDirection, PxReal bendingConstraintMaxAngle)
 
virtual void release ()
 
virtual void cookConstraints (const PxParticleClothConstraint *constraints, const PxU32 numConstraints)
 generate the constraint and triangle per vertex information.
 
virtual PxU32 * getTriangleIndices ()
 
virtual PxU32 getTriangleIndicesCount ()
 
virtual PxParticleClothConstraint * getConstraints ()
 
virtual PxU32 getConstraintCount ()
 
virtual void calculateMeshVolume ()
 Computes the volume of a closed mesh and the contraintScale. Expects vertices in local space - 'close' to origin.
 
virtual float getMeshVolume ()
 
- 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)
 

Member Function Documentation

◆ calculateMeshVolume()

void physx::ExtGpu::PxParticleClothCookerImpl::calculateMeshVolume ( )
virtual

Computes the volume of a closed mesh and the contraintScale. Expects vertices in local space - 'close' to origin.

Implements physx::ExtGpu::PxParticleClothCooker.

◆ cookConstraints()

void physx::ExtGpu::PxParticleClothCookerImpl::cookConstraints ( const PxParticleClothConstraint *  constraints,
const PxU32  numConstraints 
)
virtual

generate the constraint and triangle per vertex information.

Implements physx::ExtGpu::PxParticleClothCooker.

◆ getConstraintCount()

virtual PxU32 physx::ExtGpu::PxParticleClothCookerImpl::getConstraintCount ( )
inlinevirtual
Returns
The number of constraints.

Implements physx::ExtGpu::PxParticleClothCooker.

◆ getConstraints()

virtual PxParticleClothConstraint * physx::ExtGpu::PxParticleClothCookerImpl::getConstraints ( )
inlinevirtual
Returns
A pointer to the PxParticleClothConstraint constraints.

Implements physx::ExtGpu::PxParticleClothCooker.

◆ getMeshVolume()

virtual float physx::ExtGpu::PxParticleClothCookerImpl::getMeshVolume ( )
inlinevirtual
Returns
The mesh volume calculated by PxParticleClothCooker::calculateMeshVolume.

Implements physx::ExtGpu::PxParticleClothCooker.

◆ getTriangleIndices()

virtual PxU32 * physx::ExtGpu::PxParticleClothCookerImpl::getTriangleIndices ( )
inlinevirtual
Returns
A pointer to the triangle indices.

Implements physx::ExtGpu::PxParticleClothCooker.

◆ getTriangleIndicesCount()

virtual PxU32 physx::ExtGpu::PxParticleClothCookerImpl::getTriangleIndicesCount ( )
inlinevirtual
Returns
The number of triangle indices.

Implements physx::ExtGpu::PxParticleClothCooker.

◆ release()

virtual void physx::ExtGpu::PxParticleClothCookerImpl::release ( )
inlinevirtual

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