Bullet Collision Detection & Physics Library
|
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatcher. More...
#include <btCollisionAlgorithm.h>
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 | |
btDispatcher * | m_dispatcher |
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatcher.
It is persistent over frames
Definition at line 53 of file btCollisionAlgorithm.h.
|
inline |
Definition at line 62 of file btCollisionAlgorithm.h.
btCollisionAlgorithm::btCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci | ) |
Definition at line 19 of file btCollisionAlgorithm.cpp.
|
inlinevirtual |
Definition at line 66 of file btCollisionAlgorithm.h.
|
pure virtual |
Implemented in btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, btCompoundCollisionAlgorithm, btCompoundCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btConvexPlaneCollisionAlgorithm, btEmptyAlgorithm, btSphereBoxCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btSoftRigidCollisionAlgorithm, and btSoftSoftCollisionAlgorithm.
|
pure virtual |
Implemented in btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, btCompoundCollisionAlgorithm, btCompoundCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btConvexPlaneCollisionAlgorithm, btEmptyAlgorithm, btSphereBoxCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btSoftRigidCollisionAlgorithm, and btSoftSoftCollisionAlgorithm.
|
pure virtual |
Implemented in btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, btCompoundCollisionAlgorithm, btCompoundCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btConvexPlaneCollisionAlgorithm, btEmptyAlgorithm, btSphereBoxCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btSoftRigidCollisionAlgorithm, and btSoftSoftCollisionAlgorithm.
|
protected |
Definition at line 56 of file btCollisionAlgorithm.h.