Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
btCollisionDispatcher Class Reference

#include <btCollisionDispatcher.h>

Inheritance diagram for btCollisionDispatcher:
Inheritance graph
[legend]

List of all members.

Public Types

enum  DispatcherFlags { CD_STATIC_STATIC_REPORTED = 1, CD_USE_RELATIVE_CONTACT_BREAKING_THRESHOLD = 2, CD_DISABLE_CONTACTPOOL_DYNAMIC_ALLOCATION = 4 }

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)
btCollisionConfigurationgetCollisionConfiguration ()
const btCollisionConfigurationgetCollisionConfiguration () const
int getDispatcherFlags () const
btPersistentManifold ** getInternalManifoldPointer ()
virtual btPoolAllocatorgetInternalManifoldPool ()
virtual const btPoolAllocatorgetInternalManifoldPool () const
btPersistentManifold * getManifoldByIndexInternal (int index)
const btPersistentManifold * getManifoldByIndexInternal (int index) const
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)

Protected Attributes

btPoolAllocatorm_collisionAlgorithmPoolAllocator
btCollisionConfigurationm_collisionConfiguration
btManifoldResult m_defaultManifoldResult
int m_dispatcherFlags
btCollisionAlgorithmCreateFuncm_doubleDispatch [MAX_BROADPHASE_COLLISION_TYPES][MAX_BROADPHASE_COLLISION_TYPES]
btAlignedObjectArray
< btPersistentManifold * > 
m_manifoldsPtr
btNearCallback m_nearCallback
btPoolAllocatorm_persistentManifoldPoolAllocator

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.


Member Enumeration Documentation

Enumerator:
CD_STATIC_STATIC_REPORTED 
CD_USE_RELATIVE_CONTACT_BREAKING_THRESHOLD 
CD_DISABLE_CONTACTPOOL_DYNAMIC_ALLOCATION 

Definition at line 67 of file btCollisionDispatcher.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Definition at line 144 of file btCollisionDispatcher.h.

Definition at line 149 of file btCollisionDispatcher.h.

Definition at line 74 of file btCollisionDispatcher.h.

btPersistentManifold** btCollisionDispatcher::getInternalManifoldPointer ( ) [inline, virtual]

Implements btDispatcher.

Definition at line 92 of file btCollisionDispatcher.h.

Implements btDispatcher.

Definition at line 159 of file btCollisionDispatcher.h.

virtual const btPoolAllocator* btCollisionDispatcher::getInternalManifoldPool ( ) const [inline, virtual]

Implements btDispatcher.

Definition at line 164 of file btCollisionDispatcher.h.

btPersistentManifold* btCollisionDispatcher::getManifoldByIndexInternal ( int  index) [inline, virtual]

Implements btDispatcher.

Definition at line 97 of file btCollisionDispatcher.h.

const btPersistentManifold* btCollisionDispatcher::getManifoldByIndexInternal ( int  index) const [inline]

Definition at line 102 of file btCollisionDispatcher.h.

Definition at line 132 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 87 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.

Definition at line 154 of file btCollisionDispatcher.h.

void btCollisionDispatcher::setDispatcherFlags ( int  flags) [inline]

Definition at line 79 of file btCollisionDispatcher.h.

void btCollisionDispatcher::setNearCallback ( btNearCallback  nearCallback) [inline]

Definition at line 127 of file btCollisionDispatcher.h.


Member Data Documentation

Definition at line 56 of file btCollisionDispatcher.h.

Definition at line 62 of file btCollisionDispatcher.h.

Definition at line 52 of file btCollisionDispatcher.h.

Definition at line 48 of file btCollisionDispatcher.h.

Definition at line 60 of file btCollisionDispatcher.h.

btAlignedObjectArray<btPersistentManifold*> btCollisionDispatcher::m_manifoldsPtr [protected]

Definition at line 50 of file btCollisionDispatcher.h.

Definition at line 54 of file btCollisionDispatcher.h.

Definition at line 58 of file btCollisionDispatcher.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32