Logo Search packages:      
Sourcecode: blender version File versions

btConcaveShape Class Reference

#include <btConcaveShape.h>

Inheritance diagram for btConcaveShape:

btCollisionShape btEmptyShape btHeightfieldTerrainShape btStaticPlaneShape btTriangleMeshShape btBvhTriangleMeshShape

List of all members.

Detailed Description

Concave shape proves an interface concave shapes that can produce triangles that overlapping a given AABB. Static triangle mesh, infinite plane, height field/landscapes are example that implement this interface.

Definition at line 27 of file btConcaveShape.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 float 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
const char * getExtraDebugInfo () const
virtual const btVector3getLocalScaling () const =0
virtual float getMargin () const
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 processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const =0
void setExtraDebugInfo (const char *extraDebugInfo)
virtual void setLocalScaling (const btVector3 &scaling)=0
virtual void setMargin (float collisionMargin)

Public Attributes

const char * m_tempDebug

Protected Attributes

float m_collisionMargin

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

Generated by  Doxygen 1.6.0   Back to index