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

btCollisionShape Class Reference

#include <btCollisionShape.h>

Inheritance diagram for btCollisionShape:

btConcaveShape btEmptyShape btGImpactShapeInterface btHeightfieldTerrainShape btStaticPlaneShape btTriangleMeshShape btGImpactCompoundShape btGImpactMeshShape btGImpactMeshShapePart btPlaneShape

List of all members.

Detailed Description

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

Definition at line 25 of file btCollisionShape.h.

Public Member Functions

virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const =0
void calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax) const
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 btScalar getContactBreakingThreshold () const
virtual const btVector3 & getLocalScaling () const =0
virtual btScalar getMargin () const =0
virtual const char * getName () const =0
int getShapeType () const
void * getUserPointer () const
SIMD_FORCE_INLINE bool isCompound () const
SIMD_FORCE_INLINE bool isConcave () const
SIMD_FORCE_INLINE bool isConvex () const
SIMD_FORCE_INLINE bool isInfinite () const
 isInfinite is used to catch simulation error (aabb check)
SIMD_FORCE_INLINE bool isPolyhedral () const
virtual void setLocalScaling (const btVector3 &scaling)=0
virtual void setMargin (btScalar margin)=0
void setUserPointer (void *userPtr)
 optional user data pointer

Protected Attributes

int m_shapeType
void * m_userPointer

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

Generated by  Doxygen 1.6.0   Back to index