Logo Search packages:      
Sourcecode: blender version File versions  Download package

btPolyhedralConvexShape Class Reference

#include <btPolyhedralConvexShape.h>

Inheritance diagram for btPolyhedralConvexShape:

btBoxShape btBU_Simplex1to4 btConvexTriangleMeshShape btCylinderShape

List of all members.

Detailed Description

PolyhedralConvexShape is an interface class for feature based (vertex/edge/face) convex shapes.

Definition at line 25 of file btPolyhedralConvexShape.h.

Public Member Functions

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia)
virtual void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
virtual void getEdge (int i, btPoint3 &pa, btPoint3 &pb) const =0
void getNonvirtualAabb (const btTransform &trans, btVector3 &aabbMin, btVector3 &aabbMax, btScalar margin) const
virtual int getNumEdges () const =0
virtual int getNumPlanes () const =0
virtual int getNumVertices () const =0
virtual void getPlane (btVector3 &planeNormal, btPoint3 &planeSupport, int i) const =0
virtual void getVertex (int i, btPoint3 &vtx) const =0
virtual bool isInside (const btPoint3 &pt, btScalar tolerance) const =0
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
void recalcLocalAabb ()

Public Attributes

class Hull * m_optionalHull
 optional Hull is for optional Separating Axis Test Hull collision detection, see Hull.cpp

Protected Attributes

bool m_isLocalAabbValid
btVector3 m_localAabbMax
btVector3 m_localAabbMin

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index