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

btCollisionDispatcher Class Reference

#include <btCollisionDispatcher.h>

Inheritance diagram for btCollisionDispatcher:

btDispatcher

List of all members.


Detailed Description

btCollisionDispatcher supports algorithms that handle ConvexConvex and ConvexConcave collision pairs. Time of Impact, Closest Points and Penetration Depth.

Definition at line 42 of file btCollisionDispatcher.h.


Public Member Functions

 btCollisionDispatcher (bool noDefaultAlgorithms)
 a special constructor that doesn't create/register the default collision algorithms
 btCollisionDispatcher ()
 the default constructor creates/register default collision algorithms, for convex, compound and concave shape support
virtual void clearManifold (btPersistentManifold *manifold)
virtual void dispatchAllCollisionPairs (btOverlappingPairCache *pairCache, btDispatcherInfo &dispatchInfo)
btCollisionAlgorithmfindAlgorithm (btCollisionObject *body0, btCollisionObject *body1, btPersistentManifold *sharedManifold=0)
btPersistentManifold ** getInternalManifoldPointer ()
const btPersistentManifold * getManifoldByIndexInternal (int index) const
btPersistentManifold * getManifoldByIndexInternal (int index)
btNearCallback getNearCallback () const
virtual btPersistentManifold * getNewManifold (void *b0, void *b1)
int getNumManifolds () const
virtual bool needsCollision (btCollisionObject *body0, btCollisionObject *body1)
virtual bool needsResponse (btCollisionObject *body0, btCollisionObject *body1)
void registerCollisionCreateFunc (int proxyType0, int proxyType1, btCollisionAlgorithmCreateFunc *createFunc)
 registerCollisionCreateFunc allows registration of custom/alternative collision create functions
virtual void releaseManifold (btPersistentManifold *manifold)
void setNearCallback (btNearCallback nearCallback)

Static Public Member Functions

static void defaultNearCallback (btBroadphasePair &collisionPair, btCollisionDispatcher &dispatcher, btDispatcherInfo &dispatchInfo)

Private Member Functions

btCollisionAlgorithmCreateFuncinternalFindCreateFunc (int proxyType0, int proxyType1)

Private Attributes

btCollisionAlgorithmCreateFuncm_compoundCreateFunc
btCollisionAlgorithmCreateFuncm_convexConcaveCreateFunc
btCollisionAlgorithmCreateFuncm_convexConvexCreateFunc
int m_count
btManifoldResult m_defaultManifoldResult
btCollisionAlgorithmCreateFuncm_doubleDispatch [MAX_BROADPHASE_COLLISION_TYPES][MAX_BROADPHASE_COLLISION_TYPES]
btCollisionAlgorithmCreateFuncm_emptyCreateFunc
btAlignedObjectArray
< btPersistentManifold * > 
m_manifoldsPtr
btNearCallback m_nearCallback
btCollisionAlgorithmCreateFuncm_swappedCompoundCreateFunc
btCollisionAlgorithmCreateFuncm_swappedConvexConcaveCreateFunc
bool m_useIslands

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

Generated by  Doxygen 1.6.0   Back to index