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

Public Member Functions

 ConvexHullBuilder (Gu::ConvexHullData *hull, const bool buildGRBData)
 
bool init (PxU32 nbVerts, const PxVec3 *verts, const PxU32 *indices, const PxU32 nbIndices, const PxU32 nbPolygons, const PxHullPolygon *hullPolygons, bool doValidation=true, ConvexHullLib *hullLib=NULL)
 
bool save (PxOutputStream &stream, bool platformMismatch) const
 
bool copy (Gu::ConvexHullData &hullData, PxU32 &nb)
 
bool createEdgeList (bool doValidation, PxU32 nbEdges)
 
bool checkHullPolygons () const
 
bool calculateVertexMapTable (PxU32 nbPolygons, bool userPolygons=false)
 
PX_INLINE PxU32 computeNbPolygons () const
 
- 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

PxVec3 * mHullDataHullVertices
 
Gu::HullPolygonData * mHullDataPolygons
 
PxU8 * mHullDataVertexData8
 
PxU8 * mHullDataFacesByEdges8
 
PxU8 * mHullDataFacesByVertices8
 
PxU16 * mEdgeData16
 Edge indices indexed by hull polygons.
 
PxU16 * mEdges
 Edge to vertex mapping.
 
Gu::ConvexHullData * mHull
 
bool mBuildGRBData
 

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