Logo Search packages:      
Sourcecode: blender version File versions

btCollisionShape Class Reference

#include <btCollisionShape.h>

Inheritance diagram for btCollisionShape:

btCompoundShape btConcaveShape btEmptyShape btHeightfieldTerrainShape btStaticPlaneShape btTriangleMeshShape

List of all members.


Detailed Description

btCollisionShape provides interface for collision shapes that can be shared among btCollisionObjects.

Definition at line 26 of file btCollisionShape.h.


Public Member Functions

virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia)=0
void calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax)
virtual void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const =0
 getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
virtual btScalar getAngularMotionDisc () const
 getAngularMotionDisc returns the maximus radius needed for Conservative Advancement to handle time-of-impact with rotations.
virtual void getBoundingSphere (btVector3 &center, btScalar &radius) const
virtual const btVector3getLocalScaling () const =0
virtual btScalar getMargin () const =0
virtual char * getName () const =0
virtual int getShapeType () const =0
bool isCompound () const
bool isConcave () const
bool isConvex () const
bool isInfinite () const
 isInfinite is used to catch simulation error (aabb check)
bool isPolyhedral () const
virtual void setLocalScaling (const btVector3 &scaling)=0
virtual void setMargin (btScalar margin)=0

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

Generated by  Doxygen 1.6.0   Back to index