Logo Search packages:      
Sourcecode: blender version File versions

btConcaveShape Class Reference

#include <btConcaveShape.h>

Inheritance diagram for btConcaveShape:

btCollisionShape btEmptyShape btGImpactShapeInterface btHeightfieldTerrainShape btStaticPlaneShape btTriangleMeshShape btGImpactCompoundShape btGImpactMeshShape btGImpactMeshShapePart btPlaneShape

List of all members.

Detailed Description

The btConcaveShape class provides an interface for non-moving (static) concave shapes. It has been implemented by the btStaticPlaneShape, btBvhTriangleMeshShape and btHeightfieldTerrainShape.

Definition at line 26 of file btConcaveShape.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 const btVector3getLocalScaling () const =0
virtual btScalar getMargin () const
virtual const char * getName () const =0
virtual int getShapeType () const =0
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 processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const =0
virtual void setLocalScaling (const btVector3 &scaling)=0
virtual void setMargin (btScalar collisionMargin)
void setUserPointer (void *userPtr)
 optional user data pointer

Protected Attributes

btScalar m_collisionMargin

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

Generated by  Doxygen 1.6.0   Back to index