#include <btDispatcher.h>
Public Member Functions | |
virtual void * | allocateCollisionAlgorithm (int size)=0 |
virtual void | clearManifold (btPersistentManifold *manifold)=0 |
virtual void | dispatchAllCollisionPairs (btOverlappingPairCache *pairCache, const btDispatcherInfo &dispatchInfo, btDispatcher *dispatcher)=0 |
virtual btCollisionAlgorithm * | findAlgorithm (btCollisionObject *body0, btCollisionObject *body1, btPersistentManifold *sharedManifold=0)=0 |
virtual void | freeCollisionAlgorithm (void *ptr)=0 |
virtual btPersistentManifold ** | getInternalManifoldPointer ()=0 |
virtual btPoolAllocator * | getInternalManifoldPool ()=0 |
virtual const btPoolAllocator * | getInternalManifoldPool () const =0 |
virtual btPersistentManifold * | getManifoldByIndexInternal (int index)=0 |
virtual btPersistentManifold * | getNewManifold (void *body0, void *body1)=0 |
virtual int | getNumManifolds () const =0 |
virtual bool | needsCollision (btCollisionObject *body0, btCollisionObject *body1)=0 |
virtual bool | needsResponse (btCollisionObject *body0, btCollisionObject *body1)=0 |
virtual void | releaseManifold (btPersistentManifold *manifold)=0 |
virtual | ~btDispatcher () |
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations for overlapping pairs. For example for pairwise collision detection, calculating contact points stored in btPersistentManifold or user callbacks (game logic).
Definition at line 72 of file btDispatcher.h.
virtual btDispatcher::~btDispatcher | ( | ) | [virtual] |
virtual void* btDispatcher::allocateCollisionAlgorithm | ( | int | size | ) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual void btDispatcher::clearManifold | ( | btPersistentManifold * | manifold | ) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual void btDispatcher::dispatchAllCollisionPairs | ( | btOverlappingPairCache * | pairCache, |
const btDispatcherInfo & | dispatchInfo, | ||
btDispatcher * | dispatcher | ||
) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual btCollisionAlgorithm* btDispatcher::findAlgorithm | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
btPersistentManifold * | sharedManifold = 0 |
||
) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual void btDispatcher::freeCollisionAlgorithm | ( | void * | ptr | ) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual btPersistentManifold** btDispatcher::getInternalManifoldPointer | ( | ) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual btPoolAllocator* btDispatcher::getInternalManifoldPool | ( | ) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual const btPoolAllocator* btDispatcher::getInternalManifoldPool | ( | ) | const [pure virtual] |
Implemented in btCollisionDispatcher.
virtual btPersistentManifold* btDispatcher::getManifoldByIndexInternal | ( | int | index | ) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual btPersistentManifold* btDispatcher::getNewManifold | ( | void * | body0, |
void * | body1 | ||
) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual int btDispatcher::getNumManifolds | ( | ) | const [pure virtual] |
Implemented in btCollisionDispatcher.
virtual bool btDispatcher::needsCollision | ( | btCollisionObject * | body0, |
btCollisionObject * | body1 | ||
) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual bool btDispatcher::needsResponse | ( | btCollisionObject * | body0, |
btCollisionObject * | body1 | ||
) | [pure virtual] |
Implemented in btCollisionDispatcher.
virtual void btDispatcher::releaseManifold | ( | btPersistentManifold * | manifold | ) | [pure virtual] |
Implemented in btCollisionDispatcher.