Logo Search packages:      
Sourcecode: blender version File versions

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 43 of file btCollisionDispatcher.h.


Public Member Functions

virtual void * allocateCollisionAlgorithm (int size)
 btCollisionDispatcher (btCollisionConfiguration *collisionConfiguration)
virtual void clearManifold (btPersistentManifold *manifold)
virtual void dispatchAllCollisionPairs (btOverlappingPairCache *pairCache, const btDispatcherInfo &dispatchInfo, btDispatcher *dispatcher)
btCollisionAlgorithmfindAlgorithm (btCollisionObject *body0, btCollisionObject *body1, btPersistentManifold *sharedManifold=0)
virtual void freeCollisionAlgorithm (void *ptr)
const btCollisionConfigurationgetCollisionConfiguration () const
btCollisionConfigurationgetCollisionConfiguration ()
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 setCollisionConfiguration (btCollisionConfiguration *config)
void setNearCallback (btNearCallback nearCallback)

Static Public Member Functions

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

Private Attributes

btPoolAllocatorm_collisionAlgorithmPoolAllocator
btCollisionConfigurationm_collisionConfiguration
int m_count
btManifoldResult m_defaultManifoldResult
btCollisionAlgorithmCreateFuncm_doubleDispatch [MAX_BROADPHASE_COLLISION_TYPES][MAX_BROADPHASE_COLLISION_TYPES]
btAlignedObjectArray
< btPersistentManifold * > 
m_manifoldsPtr
btNearCallback m_nearCallback
btPoolAllocatorm_persistentManifoldPoolAllocator
bool m_staticWarningReported
bool m_useIslands

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

Generated by  Doxygen 1.6.0   Back to index