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

btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatcher. More...

#include <btCollisionAlgorithm.h>

Inheritance diagram for btCollisionAlgorithm:
Inheritance graph
[legend]
Collaboration diagram for btCollisionAlgorithm:
Collaboration graph
[legend]

Public Member Functions

 btCollisionAlgorithm ()
 
 btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual ~btCollisionAlgorithm ()
 
virtual void processCollision (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)=0
 
virtual btScalar calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)=0
 
virtual void getAllContactManifolds (btManifoldArray &manifoldArray)=0
 

Protected Attributes

btDispatcherm_dispatcher
 

Detailed Description

btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatcher.

It is persistent over frames

Definition at line 55 of file btCollisionAlgorithm.h.

Constructor & Destructor Documentation

btCollisionAlgorithm::btCollisionAlgorithm ( )
inline

Definition at line 67 of file btCollisionAlgorithm.h.

btCollisionAlgorithm::btCollisionAlgorithm ( const btCollisionAlgorithmConstructionInfo ci)

Definition at line 19 of file btCollisionAlgorithm.cpp.

virtual btCollisionAlgorithm::~btCollisionAlgorithm ( )
inlinevirtual

Definition at line 71 of file btCollisionAlgorithm.h.

Member Function Documentation

virtual btScalar btCollisionAlgorithm::calculateTimeOfImpact ( btCollisionObject body0,
btCollisionObject body1,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)
pure virtual
virtual void btCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray)
pure virtual
virtual void btCollisionAlgorithm::processCollision ( const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)
pure virtual

Member Data Documentation

btDispatcher* btCollisionAlgorithm::m_dispatcher
protected

Definition at line 60 of file btCollisionAlgorithm.h.


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