The btPolyhedralConvexShape is an internal interface class for polyhedral convex shapes. More...
#include <btPolyhedralConvexShape.h>
Public Member Functions | |
virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
btPolyhedralConvexShape () | |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
const btConvexPolyhedron * | getConvexPolyhedron () const |
virtual void | getEdge (int i, btVector3 &pa, btVector3 &pb) const =0 |
virtual int | getNumEdges () const =0 |
virtual int | getNumPlanes () const =0 |
virtual int | getNumVertices () const =0 |
virtual void | getPlane (btVector3 &planeNormal, btVector3 &planeSupport, int i) const =0 |
virtual void | getVertex (int i, btVector3 &vtx) const =0 |
virtual bool | initializePolyhedralFeatures () |
optional method mainly used to generate multiple contact points by clipping polyhedral features (faces/edges) | |
virtual bool | isInside (const btVector3 &pt, btScalar tolerance) const =0 |
virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
virtual | ~btPolyhedralConvexShape () |
Protected Attributes | |
btConvexPolyhedron * | m_polyhedron |
The btPolyhedralConvexShape is an internal interface class for polyhedral convex shapes.
Definition at line 25 of file btPolyhedralConvexShape.h.
virtual btPolyhedralConvexShape::~btPolyhedralConvexShape | ( | ) | [virtual] |
virtual void btPolyhedralConvexShape::batchedUnitVectorGetSupportingVertexWithoutMargin | ( | const btVector3 * | vectors, |
btVector3 * | supportVerticesOut, | ||
int | numVectors | ||
) | const [virtual] |
Reimplemented in btBox2dShape, btBoxShape, and btConvexTriangleMeshShape.
virtual void btPolyhedralConvexShape::calculateLocalInertia | ( | btScalar | mass, |
btVector3 & | inertia | ||
) | const [virtual] |
Reimplemented in btBox2dShape, and btBoxShape.
const btConvexPolyhedron* btPolyhedralConvexShape::getConvexPolyhedron | ( | ) | const [inline] |
Definition at line 42 of file btPolyhedralConvexShape.h.
virtual void btPolyhedralConvexShape::getEdge | ( | int | i, |
btVector3 & | pa, | ||
btVector3 & | pb | ||
) | const [pure virtual] |
Implemented in btBox2dShape, btBoxShape, btBU_Simplex1to4, and btConvexTriangleMeshShape.
virtual int btPolyhedralConvexShape::getNumEdges | ( | ) | const [pure virtual] |
Implemented in btBox2dShape, btBoxShape, btBU_Simplex1to4, and btConvexTriangleMeshShape.
virtual int btPolyhedralConvexShape::getNumPlanes | ( | ) | const [pure virtual] |
Implemented in btBox2dShape, btBoxShape, btBU_Simplex1to4, and btConvexTriangleMeshShape.
virtual int btPolyhedralConvexShape::getNumVertices | ( | ) | const [pure virtual] |
Implemented in btBox2dShape, btBoxShape, btBU_Simplex1to4, and btConvexTriangleMeshShape.
virtual void btPolyhedralConvexShape::getPlane | ( | btVector3 & | planeNormal, |
btVector3 & | planeSupport, | ||
int | i | ||
) | const [pure virtual] |
Implemented in btBox2dShape, btBoxShape, btBU_Simplex1to4, and btConvexTriangleMeshShape.
virtual void btPolyhedralConvexShape::getVertex | ( | int | i, |
btVector3 & | vtx | ||
) | const [pure virtual] |
Implemented in btBox2dShape, btBoxShape, btBU_Simplex1to4, and btConvexTriangleMeshShape.
virtual bool btPolyhedralConvexShape::initializePolyhedralFeatures | ( | ) | [virtual] |
optional method mainly used to generate multiple contact points by clipping polyhedral features (faces/edges)
virtual bool btPolyhedralConvexShape::isInside | ( | const btVector3 & | pt, |
btScalar | tolerance | ||
) | const [pure virtual] |
Implemented in btBox2dShape, btBoxShape, btBU_Simplex1to4, and btConvexTriangleMeshShape.
virtual btVector3 btPolyhedralConvexShape::localGetSupportingVertexWithoutMargin | ( | const btVector3 & | vec | ) | const [virtual] |
Reimplemented in btBox2dShape, btBoxShape, and btConvexTriangleMeshShape.
btConvexPolyhedron* btPolyhedralConvexShape::m_polyhedron [protected] |
Definition at line 31 of file btPolyhedralConvexShape.h.