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

btCollisionWorld Class Reference

#include <btCollisionWorld.h>

Inheritance diagram for btCollisionWorld:

btDynamicsWorld btDiscreteDynamicsWorld btSimpleDynamicsWorld btContinuousDynamicsWorld

List of all members.


Detailed Description

CollisionWorld is interface and container for the collision detection.

Definition at line 79 of file btCollisionWorld.h.


Public Member Functions

void addCollisionObject (btCollisionObject *collisionObject, short int collisionFilterGroup=btBroadphaseProxy::DefaultFilter, short int collisionFilterMask=btBroadphaseProxy::AllFilter)
 btCollisionWorld (btDispatcher *dispatcher, btBroadphaseInterface *broadphasePairCache, btCollisionConfiguration *collisionConfiguration)
void convexSweepTest (const btConvexShape *castShape, const btTransform &from, const btTransform &to, ConvexResultCallback &resultCallback, btScalar allowedCcdPenetration=btScalar(0.)) const
btBroadphaseInterfacegetBroadphase ()
const btBroadphaseInterfacegetBroadphase () const
const btCollisionObjectArraygetCollisionObjectArray () const
btCollisionObjectArraygetCollisionObjectArray ()
virtual btIDebugDrawgetDebugDrawer ()
const btDispatchergetDispatcher () const
btDispatchergetDispatcher ()
const btDispatcherInfo & getDispatchInfo () const
btDispatcherInfo & getDispatchInfo ()
int getNumCollisionObjects () const
btOverlappingPairCachegetPairCache ()
virtual void performDiscreteCollisionDetection ()
void rayTest (const btVector3 &rayFromWorld, const btVector3 &rayToWorld, RayResultCallback &resultCallback) const
void removeCollisionObject (btCollisionObject *collisionObject)
void setBroadphase (btBroadphaseInterface *pairCache)
virtual void setDebugDrawer (btIDebugDraw *debugDrawer)
virtual void updateAabbs ()
void updateSingleAabb (btCollisionObject *colObj)

Static Public Member Functions

static void objectQuerySingle (const btConvexShape *castShape, const btTransform &rayFromTrans, const btTransform &rayToTrans, btCollisionObject *collisionObject, const btCollisionShape *collisionShape, const btTransform &colObjWorldTransform, ConvexResultCallback &resultCallback, btScalar allowedPenetration)
 objectQuerySingle performs a collision detection query and calls the resultCallback. It is used internally by rayTest.
static void rayTestSingle (const btTransform &rayFromTrans, const btTransform &rayToTrans, btCollisionObject *collisionObject, const btCollisionShape *collisionShape, const btTransform &colObjWorldTransform, RayResultCallback &resultCallback)

Protected Attributes

btBroadphaseInterfacem_broadphasePairCache
btAlignedObjectArray
< btCollisionObject * > 
m_collisionObjects
btIDebugDrawm_debugDrawer
btDispatcherm_dispatcher1
btDispatcherInfo m_dispatchInfo
btStackAllocm_stackAlloc

Classes

struct  ClosestConvexResultCallback
struct  ClosestRayResultCallback
struct  ConvexResultCallback
 RayResultCallback is used to report new raycast results. More...
struct  LocalConvexResult
struct  LocalRayResult
struct  LocalShapeInfo
struct  RayResultCallback
 RayResultCallback is used to report new raycast results. More...

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

Generated by  Doxygen 1.6.0   Back to index