#include <btCollisionDispatcher.h>
Public Types | |
enum | DispatcherFlags { CD_STATIC_STATIC_REPORTED = 1, CD_USE_RELATIVE_CONTACT_BREAKING_THRESHOLD = 2 } |
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) |
btCollisionAlgorithm * | findAlgorithm (btCollisionObject *body0, btCollisionObject *body1, btPersistentManifold *sharedManifold=0) |
virtual void | freeCollisionAlgorithm (void *ptr) |
const btCollisionConfiguration * | getCollisionConfiguration () const |
btCollisionConfiguration * | getCollisionConfiguration () |
int | getDispatherFlags () const |
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 | setDispatcherFlags (int flags) |
void | setNearCallback (btNearCallback nearCallback) |
virtual | ~btCollisionDispatcher () |
Static Public Member Functions | |
static void | defaultNearCallback (btBroadphasePair &collisionPair, btCollisionDispatcher &dispatcher, const btDispatcherInfo &dispatchInfo) |
Private Attributes | |
btPoolAllocator * | m_collisionAlgorithmPoolAllocator |
btCollisionConfiguration * | m_collisionConfiguration |
btManifoldResult | m_defaultManifoldResult |
int | m_dispatcherFlags |
btCollisionAlgorithmCreateFunc * | m_doubleDispatch [MAX_BROADPHASE_COLLISION_TYPES][MAX_BROADPHASE_COLLISION_TYPES] |
btAlignedObjectArray < btPersistentManifold * > | m_manifoldsPtr |
btNearCallback | m_nearCallback |
btPoolAllocator * | m_persistentManifoldPoolAllocator |
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.
Definition at line 64 of file btCollisionDispatcher.h.
btCollisionDispatcher::btCollisionDispatcher | ( | btCollisionConfiguration * | collisionConfiguration | ) |
virtual btCollisionDispatcher::~btCollisionDispatcher | ( | ) | [virtual] |
virtual void* btCollisionDispatcher::allocateCollisionAlgorithm | ( | int | size | ) | [virtual] |
Implements btDispatcher.
virtual void btCollisionDispatcher::clearManifold | ( | btPersistentManifold * | manifold | ) | [virtual] |
Implements btDispatcher.
static void btCollisionDispatcher::defaultNearCallback | ( | btBroadphasePair & | collisionPair, | |
btCollisionDispatcher & | dispatcher, | |||
const btDispatcherInfo & | dispatchInfo | |||
) | [static] |
virtual void btCollisionDispatcher::dispatchAllCollisionPairs | ( | btOverlappingPairCache * | pairCache, | |
const btDispatcherInfo & | dispatchInfo, | |||
btDispatcher * | dispatcher | |||
) | [virtual] |
Implements btDispatcher.
btCollisionAlgorithm* btCollisionDispatcher::findAlgorithm | ( | btCollisionObject * | body0, | |
btCollisionObject * | body1, | |||
btPersistentManifold * | sharedManifold = 0 | |||
) | [virtual] |
Implements btDispatcher.
virtual void btCollisionDispatcher::freeCollisionAlgorithm | ( | void * | ptr | ) | [virtual] |
Implements btDispatcher.
const btCollisionConfiguration* btCollisionDispatcher::getCollisionConfiguration | ( | ) | const [inline] |
Definition at line 146 of file btCollisionDispatcher.h.
btCollisionConfiguration* btCollisionDispatcher::getCollisionConfiguration | ( | ) | [inline] |
Definition at line 141 of file btCollisionDispatcher.h.
int btCollisionDispatcher::getDispatherFlags | ( | ) | const [inline] |
Definition at line 70 of file btCollisionDispatcher.h.
btPersistentManifold** btCollisionDispatcher::getInternalManifoldPointer | ( | ) | [inline, virtual] |
Implements btDispatcher.
Definition at line 89 of file btCollisionDispatcher.h.
const btPersistentManifold* btCollisionDispatcher::getManifoldByIndexInternal | ( | int | index | ) | const [inline] |
Definition at line 99 of file btCollisionDispatcher.h.
btPersistentManifold* btCollisionDispatcher::getManifoldByIndexInternal | ( | int | index | ) | [inline, virtual] |
Implements btDispatcher.
Definition at line 94 of file btCollisionDispatcher.h.
btNearCallback btCollisionDispatcher::getNearCallback | ( | ) | const [inline] |
Definition at line 129 of file btCollisionDispatcher.h.
virtual btPersistentManifold* btCollisionDispatcher::getNewManifold | ( | void * | b0, | |
void * | b1 | |||
) | [virtual] |
Implements btDispatcher.
int btCollisionDispatcher::getNumManifolds | ( | ) | const [inline, virtual] |
Implements btDispatcher.
Definition at line 84 of file btCollisionDispatcher.h.
virtual bool btCollisionDispatcher::needsCollision | ( | btCollisionObject * | body0, | |
btCollisionObject * | body1 | |||
) | [virtual] |
Implements btDispatcher.
virtual bool btCollisionDispatcher::needsResponse | ( | btCollisionObject * | body0, | |
btCollisionObject * | body1 | |||
) | [virtual] |
Implements btDispatcher.
void btCollisionDispatcher::registerCollisionCreateFunc | ( | int | proxyType0, | |
int | proxyType1, | |||
btCollisionAlgorithmCreateFunc * | createFunc | |||
) |
registerCollisionCreateFunc allows registration of custom/alternative collision create functions
virtual void btCollisionDispatcher::releaseManifold | ( | btPersistentManifold * | manifold | ) | [virtual] |
Implements btDispatcher.
void btCollisionDispatcher::setCollisionConfiguration | ( | btCollisionConfiguration * | config | ) | [inline] |
Definition at line 151 of file btCollisionDispatcher.h.
void btCollisionDispatcher::setDispatcherFlags | ( | int | flags | ) | [inline] |
Definition at line 75 of file btCollisionDispatcher.h.
void btCollisionDispatcher::setNearCallback | ( | btNearCallback | nearCallback | ) | [inline] |
Definition at line 124 of file btCollisionDispatcher.h.
Definition at line 53 of file btCollisionDispatcher.h.
Definition at line 59 of file btCollisionDispatcher.h.
Definition at line 49 of file btCollisionDispatcher.h.
int btCollisionDispatcher::m_dispatcherFlags [private] |
Definition at line 45 of file btCollisionDispatcher.h.
btCollisionAlgorithmCreateFunc* btCollisionDispatcher::m_doubleDispatch[MAX_BROADPHASE_COLLISION_TYPES][MAX_BROADPHASE_COLLISION_TYPES] [private] |
Definition at line 57 of file btCollisionDispatcher.h.
btAlignedObjectArray<btPersistentManifold*> btCollisionDispatcher::m_manifoldsPtr [private] |
Definition at line 47 of file btCollisionDispatcher.h.
Definition at line 51 of file btCollisionDispatcher.h.
Definition at line 55 of file btCollisionDispatcher.h.