btPolyhedralConvexShape Class Reference

The btPolyhedralConvexShape is an internal interface class for polyhedral convex shapes. More...

#include <btPolyhedralConvexShape.h>

Inheritance diagram for btPolyhedralConvexShape:
Inheritance graph
[legend]
Collaboration diagram for btPolyhedralConvexShape:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btPolyhedralConvexShape ()
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
virtual int getNumVertices () const =0
virtual int getNumEdges () const =0
virtual void getEdge (int i, btVector3 &pa, btVector3 &pb) const =0
virtual void getVertex (int i, btVector3 &vtx) const =0
virtual int getNumPlanes () const =0
virtual void getPlane (btVector3 &planeNormal, btVector3 &planeSupport, int i) const =0
virtual bool isInside (const btVector3 &pt, btScalar tolerance) const =0

Detailed Description

The btPolyhedralConvexShape is an internal interface class for polyhedral convex shapes.

Definition at line 24 of file btPolyhedralConvexShape.h.


Constructor & Destructor Documentation

btPolyhedralConvexShape::btPolyhedralConvexShape (  ) 

Definition at line 18 of file btPolyhedralConvexShape.cpp.


Member Function Documentation

void btPolyhedralConvexShape::batchedUnitVectorGetSupportingVertexWithoutMargin ( const btVector3 vectors,
btVector3 supportVerticesOut,
int  numVectors 
) const [virtual]
void btPolyhedralConvexShape::calculateLocalInertia ( btScalar  mass,
btVector3 inertia 
) const [virtual]

Implements btCollisionShape.

Reimplemented in btBox2dShape, btBoxShape, and btTriangleShape.

Definition at line 100 of file btPolyhedralConvexShape.cpp.

virtual void btPolyhedralConvexShape::getEdge ( int  i,
btVector3 pa,
btVector3 pb 
) const [pure virtual]
virtual int btPolyhedralConvexShape::getNumEdges (  )  const [pure virtual]
virtual int btPolyhedralConvexShape::getNumPlanes (  )  const [pure virtual]
virtual int btPolyhedralConvexShape::getNumVertices (  )  const [pure virtual]
virtual void btPolyhedralConvexShape::getPlane ( btVector3 planeNormal,
btVector3 planeSupport,
int  i 
) const [pure virtual]
virtual void btPolyhedralConvexShape::getVertex ( int  i,
btVector3 vtx 
) const [pure virtual]
virtual bool btPolyhedralConvexShape::isInside ( const btVector3 pt,
btScalar  tolerance 
) const [pure virtual]
btVector3 btPolyhedralConvexShape::localGetSupportingVertexWithoutMargin ( const btVector3 vec  )  const [virtual]

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

Generated on Mon Feb 15 22:23:29 2010 for Bullet Collision Detection & Physics Library by  doxygen 1.6.1