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

Public Member Functions

 QuickHullConvexHullLib (const PxConvexMeshDesc &desc, const PxCookingParams &params)
 
virtual PxConvexMeshCookingResult::Enum createConvexHull ()
 
virtual void fillConvexMeshDesc (PxConvexMeshDesc &desc)
 
virtual bool createEdgeList (const PxU32, const PxU8 *, PxU8 **, PxU16 **, PxU16 **)
 
- Public Member Functions inherited from physx::ConvexHullLib
 ConvexHullLib (const PxConvexMeshDesc &desc, const PxCookingParams &params)
 
- 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)
 

Protected Member Functions

PxConvexMeshCookingResult::Enum expandHullOBB ()
 
PxConvexMeshCookingResult::Enum expandHull ()
 
bool cleanupForSimplex (PxVec3 *vertices, PxU32 vertexCount, local::QuickHullVertex *minimumVertex, local::QuickHullVertex *maximumVertex, float &tolerance, float &planeTolerance)
 
void fillConvexMeshDescFromQuickHull (PxConvexMeshDesc &desc)
 
void fillConvexMeshDescFromCroppedHull (PxConvexMeshDesc &desc)
 
- Protected Member Functions inherited from physx::ConvexHullLib
bool cleanupVertices (PxU32 svcount, const PxVec3 *svertices, PxU32 stride, PxU32 &vcount, PxVec3 *vertices)
 
bool shiftAndcleanupVertices (PxU32 svcount, const PxVec3 *svertices, PxU32 stride, PxU32 &vcount, PxVec3 *vertices)
 
void swapLargestFace (PxConvexMeshDesc &desc)
 
void shiftConvexMeshDesc (PxConvexMeshDesc &desc)
 

Additional Inherited Members

- Static Public Attributes inherited from physx::ConvexHullLib
static const PxU32 gpuMaxVertsPerFace = 31
 
- Protected Attributes inherited from physx::ConvexHullLib
const PxConvexMeshDesc & mConvexMeshDesc
 
const PxCookingParams & mCookingParams
 
PxU32 * mSwappedIndices
 
PxVec3 mOriginShift
 
PxVec3 * mShiftedVerts
 

Member Function Documentation

◆ createConvexHull()

PxConvexMeshCookingResult::Enum QuickHullConvexHullLib::createConvexHull ( )
virtual

Implements physx::ConvexHullLib.

◆ createEdgeList()

bool QuickHullConvexHullLib::createEdgeList ( const PxU32  nbIndices,
const PxU8 *  indices,
PxU8 **  outHullDataFacesByEdges8,
PxU16 **  outEdgeData16,
PxU16 **  outEdges 
)
virtual

Implements physx::ConvexHullLib.

◆ fillConvexMeshDesc()

void QuickHullConvexHullLib::fillConvexMeshDesc ( PxConvexMeshDesc &  desc)
virtual

Implements physx::ConvexHullLib.


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