Newton Dynamics  4.00
ndPolygonSoupBuilder Class Reference
Inheritance diagram for ndPolygonSoupBuilder:
ndClassAlloc

Classes

class  dgFaceBucket
 
class  dgFaceInfo
 
class  dgFaceMap
 
class  dgPolySoupFilterAllocator
 
class  ndIndexArray
 
class  ndVertexArray
 

Public Member Functions

D_CORE_API ndPolygonSoupBuilder (const ndPolygonSoupBuilder &sopurce)
 
virtual D_CORE_API void Begin ()
 
virtual D_CORE_API void End (bool optimize)
 
virtual D_CORE_API void AddFace (const ndFloat32 *const vertex, ndInt32 strideInBytes, ndInt32 vertexCount, const ndInt32 faceId)
 
virtual D_CORE_API void AddFaceIndirect (const ndFloat32 *const vertex, ndInt32 strideInBytes, ndInt32 faceId, const ndInt32 *const indexArray, ndInt32 indexCount)
 
D_CORE_API void LoadPLY (const char *const fileName)
 
D_CORE_API void SavePLY (const char *const fileName) const
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Public Attributes

ndIndexArray m_faceVertexCount
 
ndIndexArray m_vertexIndex
 
ndIndexArray m_normalIndex
 
ndVertexArray m_vertexPoints
 
ndVertexArray m_normalPoints
 
ndInt32 m_run
 

Additional Inherited Members

- Static Public Member Functions inherited from ndClassAlloc
D_OPERATOR_NEW_AND_DELETE static D_CORE_API void * Malloc (size_t size)
 Generic allocation for any function subclass from ndClassAlloc.
 
static D_CORE_API void Free (void *const ptr)
 Generic destruction for any function subclass from ndClassAlloc.