ScummVM API documentation
dgAABBPolygonSoup Class Reference
Inheritance diagram for dgAABBPolygonSoup:
dgPolygonSoupDatabase dgCollisionBVH

Public Member Functions

dgInt32 GetIndexCount () const
 
dgInt32 * GetIndexPool () const
 
virtual void GetAABB (dgVector &p0, dgVector &p1) const
 
virtual void Serialize (dgSerialize callback, void *const userData) const
 
virtual void Deserialize (dgDeserialize callback, void *const userData)
 
- Public Member Functions inherited from dgPolygonSoupDatabase
dgFloat32 GetRadius () const
 
dgInt32 GetVertexCount () const
 
dgInt32 GetStrideInBytes () const
 
dgFloat32 * GetLocalVertexPool () const
 
dgUnsigned32 GetTagId (const dgInt32 *face) const
 
void SetTagId (const dgInt32 *face, dgUnsigned32 newID) const
 

Protected Member Functions

void * GetRootNode () const
 
const void * GetBackNode (const void *const root) const
 
const void * GetFrontNode (const void *const root) const
 
void GetNodeAABB (const void *const root, dgVector &p0, dgVector &p1) const
 
void Create (const dgPolygonSoupDatabaseBuilder &builder, bool optimizedBuild)
 
virtual void ForAllSectors (const dgVector &min, const dgVector &max, dgAABBIntersectCallback callback, void *const context) const
 
virtual void ForAllSectorsSimd (const dgVector &min, const dgVector &max, dgAABBIntersectCallback callback, void *const context) const
 
virtual void ForAllSectorsRayHit (const dgFastRayTest &ray, dgRayIntersectCallback callback, void *const context) const
 
virtual void ForAllSectorsRayHitSimd (const dgFastRayTest &ray, dgRayIntersectCallback callback, void *const context) const
 
virtual dgVector ForAllSectorsSupportVectex (const dgVector &dir) const
 
dgFloat32 CalculateFaceMaxSize (dgTriplex *const vertex, dgInt32 indexCount, const dgInt32 *const indexArray) const
 
- Protected Member Functions inherited from dgPolygonSoupDatabase
 dgPolygonSoupDatabase (const char *name=NULL)
 

Additional Inherited Members

- Protected Attributes inherited from dgPolygonSoupDatabase
dgInt32 m_vertexCount
 
dgInt32 m_strideInBytes
 
dgFloat32 * m_localVertex
 

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