The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly, use btBvhTriangleMeshShape instead. More...
#include <btTriangleMeshShape.h>
Public Member Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
virtual | ~btTriangleMeshShape () |
virtual btVector3 | localGetSupportingVertex (const btVector3 &vec) const |
virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
void | recalcLocalAabb () |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t. | |
virtual void | processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
virtual void | setLocalScaling (const btVector3 &scaling) |
virtual const btVector3 & | getLocalScaling () const |
btStridingMeshInterface * | getMeshInterface () |
const btStridingMeshInterface * | getMeshInterface () const |
const btVector3 & | getLocalAabbMin () const |
const btVector3 & | getLocalAabbMax () const |
virtual const char * | getName () const |
Protected Member Functions | |
btTriangleMeshShape (btStridingMeshInterface *meshInterface) | |
btTriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use this class. | |
Protected Attributes | |
btVector3 | m_localAabbMin |
btVector3 | m_localAabbMax |
btStridingMeshInterface * | m_meshInterface |
The btTriangleMeshShape is an internal concave triangle mesh interface. Don't use this class directly, use btBvhTriangleMeshShape instead.
Definition at line 24 of file btTriangleMeshShape.h.
btTriangleMeshShape::btTriangleMeshShape | ( | btStridingMeshInterface * | meshInterface | ) | [protected] |
btTriangleMeshShape constructor has been disabled/protected, so that users will not mistakenly use this class.
Don't use btTriangleMeshShape but use btBvhTriangleMeshShape instead!
Definition at line 24 of file btTriangleMeshShape.cpp.
btTriangleMeshShape::~btTriangleMeshShape | ( | ) | [virtual] |
Definition at line 39 of file btTriangleMeshShape.cpp.
btTriangleMeshShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
Reimplemented from btConcaveShape.
Reimplemented in btBvhTriangleMeshShape, and btMultimaterialTriangleMeshShape.
void btTriangleMeshShape::calculateLocalInertia | ( | btScalar | mass, | |
btVector3 & | inertia | |||
) | const [virtual] |
Implements btCollisionShape.
Definition at line 180 of file btTriangleMeshShape.cpp.
void btTriangleMeshShape::getAabb | ( | const btTransform & | t, | |
btVector3 & | aabbMin, | |||
btVector3 & | aabbMax | |||
) | const [virtual] |
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
Implements btCollisionShape.
Definition at line 47 of file btTriangleMeshShape.cpp.
const btVector3& btTriangleMeshShape::getLocalAabbMax | ( | ) | const [inline] |
Definition at line 73 of file btTriangleMeshShape.h.
const btVector3& btTriangleMeshShape::getLocalAabbMin | ( | ) | const [inline] |
Definition at line 69 of file btTriangleMeshShape.h.
const btVector3 & btTriangleMeshShape::getLocalScaling | ( | ) | const [virtual] |
Implements btCollisionShape.
Definition at line 130 of file btTriangleMeshShape.cpp.
btStridingMeshInterface* btTriangleMeshShape::getMeshInterface | ( | ) | [inline] |
Definition at line 59 of file btTriangleMeshShape.h.
const btStridingMeshInterface* btTriangleMeshShape::getMeshInterface | ( | ) | const [inline] |
Definition at line 64 of file btTriangleMeshShape.h.
virtual const char* btTriangleMeshShape::getName | ( | ) | const [inline, virtual] |
Implements btCollisionShape.
Reimplemented in btBvhTriangleMeshShape, and btMultimaterialTriangleMeshShape.
Definition at line 81 of file btTriangleMeshShape.h.
Definition at line 189 of file btTriangleMeshShape.cpp.
virtual btVector3 btTriangleMeshShape::localGetSupportingVertexWithoutMargin | ( | const btVector3 & | vec | ) | const [inline, virtual] |
Definition at line 42 of file btTriangleMeshShape.h.
void btTriangleMeshShape::processAllTriangles | ( | btTriangleCallback * | callback, | |
const btVector3 & | aabbMin, | |||
const btVector3 & | aabbMax | |||
) | const [virtual] |
Implements btConcaveShape.
Reimplemented in btBvhTriangleMeshShape.
Definition at line 144 of file btTriangleMeshShape.cpp.
void btTriangleMeshShape::recalcLocalAabb | ( | ) |
Definition at line 63 of file btTriangleMeshShape.cpp.
void btTriangleMeshShape::setLocalScaling | ( | const btVector3 & | scaling | ) | [virtual] |
Implements btCollisionShape.
Reimplemented in btBvhTriangleMeshShape.
Definition at line 124 of file btTriangleMeshShape.cpp.
btVector3 btTriangleMeshShape::m_localAabbMax [protected] |
Definition at line 28 of file btTriangleMeshShape.h.
btVector3 btTriangleMeshShape::m_localAabbMin [protected] |
Definition at line 27 of file btTriangleMeshShape.h.
Definition at line 29 of file btTriangleMeshShape.h.