Bullet Collision Detection & Physics Library
Public Member Functions | List of all members
btDispatcher Class Referenceabstract

The btDispatcher interface class can be used in combination with broadphase to dispatch calculations for overlapping pairs. More...

#include <btDispatcher.h>

Inheritance diagram for btDispatcher:
Inheritance graph
[legend]

Public Member Functions

virtual ~btDispatcher ()
 
virtual btCollisionAlgorithmfindAlgorithm (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, btPersistentManifold *sharedManifold=0)=0
 
virtual btPersistentManifoldgetNewManifold (const btCollisionObject *b0, const btCollisionObject *b1)=0
 
virtual void releaseManifold (btPersistentManifold *manifold)=0
 
virtual void clearManifold (btPersistentManifold *manifold)=0
 
virtual bool needsCollision (const btCollisionObject *body0, const btCollisionObject *body1)=0
 
virtual bool needsResponse (const btCollisionObject *body0, const btCollisionObject *body1)=0
 
virtual void dispatchAllCollisionPairs (btOverlappingPairCache *pairCache, const btDispatcherInfo &dispatchInfo, btDispatcher *dispatcher)=0
 
virtual int getNumManifolds () const =0
 
virtual btPersistentManifoldgetManifoldByIndexInternal (int index)=0
 
virtual btPersistentManifold ** getInternalManifoldPointer ()=0
 
virtual btPoolAllocatorgetInternalManifoldPool ()=0
 
virtual const btPoolAllocatorgetInternalManifoldPool () const =0
 
virtual void * allocateCollisionAlgorithm (int size)=0
 
virtual void freeCollisionAlgorithm (void *ptr)=0
 

Detailed Description

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 69 of file btDispatcher.h.

Constructor & Destructor Documentation

btDispatcher::~btDispatcher ( )
virtual

Definition at line 18 of file btDispatcher.cpp.

Member Function Documentation

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
virtual btCollisionAlgorithm* btDispatcher::findAlgorithm ( const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap,
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 ( const btCollisionObject b0,
const btCollisionObject b1 
)
pure virtual

Implemented in btCollisionDispatcher.

virtual int btDispatcher::getNumManifolds ( ) const
pure virtual

Implemented in btCollisionDispatcher.

virtual bool btDispatcher::needsCollision ( const btCollisionObject body0,
const btCollisionObject body1 
)
pure virtual

Implemented in btCollisionDispatcher.

virtual bool btDispatcher::needsResponse ( const btCollisionObject body0,
const btCollisionObject body1 
)
pure virtual

Implemented in btCollisionDispatcher.

virtual void btDispatcher::releaseManifold ( btPersistentManifold manifold)
pure virtual

Implemented in btCollisionDispatcher.


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