|
|
| D_CLASS_REFLECTION (ndShapeStatic_bvh) |
| |
|
D_COLLISION_API | ndShapeStatic_bvh (const ndPolygonSoupBuilder &builder) |
| |
|
D_COLLISION_API | ndShapeStatic_bvh (const ndLoadSaveBase::ndLoadDescriptor &desc) |
| |
|
void * | operator new (size_t size) |
| |
|
void | operator delete (void *ptr) |
| |
|
| D_CLASS_REFLECTION (ndShapeStaticMesh) |
| |
|
D_COLLISION_API | ndShapeStaticMesh (ndShapeID id) |
| |
|
D_COLLISION_API | ndShapeStaticMesh (const ndLoadSaveBase::ndLoadDescriptor &desc) |
| |
|
D_COLLISION_API void | Save (const ndLoadSaveBase::ndSaveDescriptor &desc) const |
| |
|
| D_CLASS_REFLECTION (ndShape) |
| |
|
D_COLLISION_API ndInt32 | GetRefCount () const |
| |
|
virtual D_COLLISION_API ndInt32 | Release () const |
| |
|
virtual D_COLLISION_API const ndShape * | AddRef () const |
| |
|
virtual ndShapeBox * | GetAsShapeBox () |
| |
|
virtual ndShapeNull * | GetAsShapeNull () |
| |
|
virtual ndShapeCone * | GetAsShapeCone () |
| |
|
virtual ndShapePoint * | GetAsShapePoint () |
| |
|
virtual ndShapeConvex * | GetAsShapeConvex () |
| |
|
virtual ndShapeSphere * | GetAsShapeSphere () |
| |
|
virtual ndShapeCapsule * | GetAsShapeCapsule () |
| |
|
virtual ndShapeCylinder * | GetAsShapeCylinder () |
| |
|
virtual ndShapeCompound * | GetAsShapeCompound () |
| |
|
virtual ndShapeHeightfield * | GetAsShapeHeightfield () |
| |
|
virtual ndShapeConvexPolygon * | GetAsShapeAsConvexPolygon () |
| |
|
virtual ndShapeChamferCylinder * | GetAsShapeChamferCylinder () |
| |
|
virtual ndShapeStaticProceduralMesh * | GetAsShapeStaticProceduralMesh () |
| |
|
virtual ndInt32 | GetConvexVertexCount () const |
| |
|
ndVector | GetObbSize () const |
| |
|
ndVector | GetObbOrigin () const |
| |
|
ndFloat32 | GetUmbraClipSize () const |
| |
|
virtual D_COLLISION_API void | MassProperties () |
| |
|
virtual ndMatrix | CalculateInertiaAndCenterOfMass (const ndMatrix &alignMatrix, const ndVector &localScale, const ndMatrix &matrix) const |
| |
|
virtual ndFloat32 | CalculateMassProperties (const ndMatrix &offset, ndVector &inertia, ndVector &crossInertia, ndVector ¢erOfMass) const |
| |
|
D_CORE_API void * | operator new (size_t size) |
| |
|
D_CORE_API void | operator delete (void *ptr) |
| |
|
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.
|
| |
|
|
virtual ndShapeInfo | GetShapeInfo () const |
| |
|
virtual ndShapeStatic_bvh * | GetAsShapeStaticBVH () |
| |
|
virtual void | DebugShape (const ndMatrix &matrix, ndShapeDebugNotify &debugCallback) const |
| |
|
virtual ndFloat32 | RayCast (ndRayCastNotify &callback, const ndVector &localP0, const ndVector &localP1, ndFloat32 maxT, const ndBody *const body, ndContactPoint &contactOut) const |
| |
|
virtual void | GetCollidingFaces (ndPolygonMeshDesc *const data) const |
| |
|
virtual void | Save (const ndLoadSaveBase::ndSaveDescriptor &desc) const |
| |
|
virtual ndFloat32 | GetVolume () const |
| |
|
virtual ndFloat32 | GetBoxMinRadius () const |
| |
|
virtual ndFloat32 | GetBoxMaxRadius () const |
| |
|
virtual ndShapeStaticMesh * | GetAsShapeStaticMesh () |
| |
|
virtual ndVector | SupportVertex (const ndVector &dir, ndInt32 *const vertexIndex) const |
| |
|
virtual ndVector | SupportVertexSpecial (const ndVector &dir, ndFloat32 skinMargin, ndInt32 *const vertexIndex) const |
| |
|
virtual ndVector | SupportVertexSpecialProjectPoint (const ndVector &point, const ndVector &dir) const |
| |
|
virtual ndInt32 | CalculatePlaneIntersection (const ndVector &normal, const ndVector &point, ndVector *const contactsOut) const |
| |
|
virtual ndVector | CalculateVolumeIntegral (const ndMatrix &globalMatrix, const ndVector &plane, const ndShapeInstance &parentScale) const |
| |
|
virtual D_COLLISION_API void | CalculateAabb (const ndMatrix &matrix, ndVector &p0, ndVector &p1) const |
| |
|
D_COLLISION_API ndInt32 | CalculatePlaneIntersection (const ndFloat32 *const vertex, const ndInt32 *const index, ndInt32 indexCount, ndInt32 strideInFloat, const ndPlane &localPlane, ndVector *const contactsOut) const |
| |
|
D_COLLISION_API | ndShape (ndShapeID id) |
| |
|
D_COLLISION_API | ndShape (const ndShape &source) |
| |
|
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) |
| |
|
|
static ndFloat32 | RayHit (void *const context, const ndFloat32 *const polygon, ndInt32 strideInBytes, const ndInt32 *const indexArray, ndInt32 indexCount) |
| |
|
static ndIntersectStatus | ShowDebugPolygon (void *const context, const ndFloat32 *const polygon, ndInt32 strideInBytes, const ndInt32 *const indexArray, ndInt32 indexCount, ndFloat32 hitDistance) |
| |
|
static ndIntersectStatus | GetTriangleCount (void *const context, const ndFloat32 *const polygon, ndInt32 strideInBytes, const ndInt32 *const indexArray, ndInt32 indexCount, ndFloat32 hitDistance) |
| |
|
static ndIntersectStatus | GetPolygon (void *const context, const ndFloat32 *const polygon, ndInt32 strideInBytes, const ndInt32 *const indexArray, ndInt32 indexCount, ndFloat32 hitDistance) |
| |