Base class for creating a leafless bounding box hierarchy for queering a polygon list index list mesh.
More...
|
|
virtual D_CORE_API void | GetAABB (ndVector &p0, ndVector &p1) const |
| | get the root node bounding box of the mesh.
|
| |
|
virtual D_CORE_API void | Serialize (const char *const path) const |
| | writes the entire database to a binary file named path.
|
| |
|
virtual D_CORE_API void | Deserialize (const char *const path) |
| | Reads a previously saved database binary file named path.
|
| |
|
ndNode * | GetRootNode () const |
| | Get the root node of the hierarchy.
|
| |
| ndNode * | GetBackNode (const ndNode *const node) const |
| | Returns the back child node of the hierarchy. More...
|
| |
| ndNode * | GetFrontNode (const ndNode *const node) const |
| | Returns the front child node of the hierarchy. More...
|
| |
|
void | GetNodeAabb (const ndNode *const node, ndVector &p0, ndVector &p1) const |
| | Returns the bounding box of node in point p0 and p1.
|
| |
|
ndFloat32 | GetRadius () const |
| |
|
ndInt32 | GetVertexCount () const |
| |
|
ndInt32 | GetStrideInBytes () const |
| |
|
ndFloat32 * | GetLocalVertexPool () const |
| |
|
ndUnsigned32 | GetTagId (const ndInt32 *const face, ndInt32 indexCount) const |
| |
|
void | SetTagId (const ndInt32 *const face, ndInt32 indexCount, ndUnsigned32 newID) const |
| |
|
| ndClassAlloc () |
| | Empty default constructor.
|
| |
|
| ~ndClassAlloc () |
| | Empty.
|
| |
|
|
D_CORE_API void | Create (const ndPolygonSoupBuilder &builder) |
| |
|
D_CORE_API void | CalculateAdjacent () |
| |
|
virtual D_CORE_API ndVector | ForAllSectorsSupportVertex (const ndVector &dir) const |
| |
|
virtual D_CORE_API void | ForAllSectorsRayHit (const ndFastRay &ray, ndFloat32 maxT, ndRayIntersectCallback callback, void *const context) const |
| |
|
virtual D_CORE_API void | ForAllSectors (const ndFastAabb &obbAabb, const ndVector &boxDistanceTravel, ndFloat32 maxT, ndAaabbIntersectCallback callback, void *const context) const |
| |
|
virtual D_CORE_API void | ForThisSector (const ndAabbPolygonSoup::ndNode *const node, const ndFastAabb &obbAabb, const ndVector &boxDistanceTravel, ndFloat32 maxT, ndAaabbIntersectCallback callback, void *const context) const |
| |
|
| ndPolygonSoupDatabase (const char *const name=nullptr) |
| |
Base class for creating a leafless bounding box hierarchy for queering a polygon list index list mesh.