btCompoundCollisionAlgorithm supports collision between CompoundCollisionShapes and other collision shapes More...
#include <btCompoundCollisionAlgorithm.h>
Classes | |
struct | CreateFunc |
struct | SwappedCreateFunc |
Public Member Functions | |
btCompoundCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *body0, btCollisionObject *body1, bool isSwapped) | |
btScalar | calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual void | getAllContactManifolds (btManifoldArray &manifoldArray) |
virtual void | processCollision (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual | ~btCompoundCollisionAlgorithm () |
Private Member Functions | |
void | preallocateChildAlgorithms (btCollisionObject *body0, btCollisionObject *body1) |
void | removeChildAlgorithms () |
Private Attributes | |
btAlignedObjectArray < btCollisionAlgorithm * > | m_childCollisionAlgorithms |
int | m_compoundShapeRevision |
bool | m_isSwapped |
bool | m_ownsManifold |
class btPersistentManifold * | m_sharedManifold |
btCompoundCollisionAlgorithm supports collision between CompoundCollisionShapes and other collision shapes
Definition at line 32 of file btCompoundCollisionAlgorithm.h.
btCompoundCollisionAlgorithm::btCompoundCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci, |
btCollisionObject * | body0, | ||
btCollisionObject * | body1, | ||
bool | isSwapped | ||
) |
virtual btCompoundCollisionAlgorithm::~btCompoundCollisionAlgorithm | ( | ) | [virtual] |
btScalar btCompoundCollisionAlgorithm::calculateTimeOfImpact | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
virtual void btCompoundCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) | [inline, virtual] |
Implements btCollisionAlgorithm.
Definition at line 56 of file btCompoundCollisionAlgorithm.h.
void btCompoundCollisionAlgorithm::preallocateChildAlgorithms | ( | btCollisionObject * | body0, |
btCollisionObject * | body1 | ||
) | [private] |
virtual void btCompoundCollisionAlgorithm::processCollision | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
void btCompoundCollisionAlgorithm::removeChildAlgorithms | ( | ) | [private] |
btAlignedObjectArray<btCollisionAlgorithm*> btCompoundCollisionAlgorithm::m_childCollisionAlgorithms [private] |
Definition at line 34 of file btCompoundCollisionAlgorithm.h.
int btCompoundCollisionAlgorithm::m_compoundShapeRevision [private] |
Definition at line 40 of file btCompoundCollisionAlgorithm.h.
bool btCompoundCollisionAlgorithm::m_isSwapped [private] |
Definition at line 35 of file btCompoundCollisionAlgorithm.h.
bool btCompoundCollisionAlgorithm::m_ownsManifold [private] |
Definition at line 38 of file btCompoundCollisionAlgorithm.h.
class btPersistentManifold* btCompoundCollisionAlgorithm::m_sharedManifold [private] |
Definition at line 37 of file btCompoundCollisionAlgorithm.h.