PxDeformableSkinning

Defined in include/PxDeformableSkinning.h

class PxDeformableSkinning

Abstract base class for deformable skinning operations.

Public Functions

virtual void computeNormalVectors(PxTrimeshSkinningGpuData *skinningDataArrayD, PxU32 arrayLength, CUstream stream, PxU32 nbGpuThreads = 8192) = 0

Computes normal vectors for cloth skinning data.

Parameters
  • skinningDataArrayD – Array of cloth skinning data structures.

  • arrayLength – The number of elements in the skinning data array.

  • stream – CUDA stream to be used for computation.

  • nbGpuThreads – Number of GPU threads to use per cloth (default is 8192).

virtual void evaluateVerticesEmbeddedIntoSurface(PxTrimeshSkinningGpuData *skinningDataArrayD, PxU32 arrayLength, CUstream stream, PxU32 nbGpuThreads = 8192) = 0

Evaluates interpolated deformable surface vertices.

Parameters
  • skinningDataArrayD – Array of deformable surface skinning data structures.

  • arrayLength – The number of elements in the skinning data array.

  • stream – CUDA stream to be used for computation.

  • nbGpuThreads – Number of GPU threads to use per deformable surface (default is 8192).

virtual void evaluateVerticesEmbeddedIntoVolume(PxTetmeshSkinningGpuData *skinningDataArrayD, PxU32 arrayLength, CUstream stream, PxU32 nbGpuThreads = 8192) = 0

Evaluates interpolated deformable volume vertices.

Parameters
  • skinningDataArrayD – Array of deformable volume skinning data structures.

  • arrayLength – Length of the skinning data array.

  • stream – CUDA stream to be used for computation.

  • nbGpuThreads – Number of GPU threads to use per deformable volume (default is 8192).

inline virtual ~PxDeformableSkinning()

Virtual destructor for PxDeformableSkinning.