The btConcaveShape class provides an interface for non-moving (static) concave shapes. More...
#include <btConcaveShape.h>
Public Member Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btConcaveShape () | |
virtual | ~btConcaveShape () |
virtual void | processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const =0 |
virtual btScalar | getMargin () const |
virtual void | setMargin (btScalar collisionMargin) |
Protected Attributes | |
btScalar | m_collisionMargin |
The btConcaveShape class provides an interface for non-moving (static) concave shapes.
It has been implemented by the btStaticPlaneShape, btBvhTriangleMeshShape and btHeightfieldTerrainShape.
Definition at line 36 of file btConcaveShape.h.
btConcaveShape::btConcaveShape | ( | ) |
Definition at line 19 of file btConcaveShape.cpp.
btConcaveShape::~btConcaveShape | ( | ) | [virtual] |
Definition at line 24 of file btConcaveShape.cpp.
btConcaveShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
Reimplemented from btCollisionShape.
Reimplemented in btBvhTriangleMeshShape, btEmptyShape, btHeightfieldTerrainShape, btMultimaterialTriangleMeshShape, btScaledBvhTriangleMeshShape, btStaticPlaneShape, and btTriangleMeshShape.
virtual btScalar btConcaveShape::getMargin | ( | ) | const [inline, virtual] |
Implements btCollisionShape.
Reimplemented in btGImpactMeshShapePart.
Definition at line 50 of file btConcaveShape.h.
virtual void btConcaveShape::processAllTriangles | ( | btTriangleCallback * | callback, | |
const btVector3 & | aabbMin, | |||
const btVector3 & | aabbMax | |||
) | const [pure virtual] |
virtual void btConcaveShape::setMargin | ( | btScalar | collisionMargin | ) | [inline, virtual] |
Implements btCollisionShape.
Reimplemented in btGImpactShapeInterface, btGImpactMeshShapePart, and btGImpactMeshShape.
Definition at line 53 of file btConcaveShape.h.
btScalar btConcaveShape::m_collisionMargin [protected] |
Definition at line 39 of file btConcaveShape.h.