btSoftRigidCollisionAlgorithm provides collision detection between btSoftBody and btRigidBody More...
#include <btSoftRigidCollisionAlgorithm.h>
Classes | |
struct | CreateFunc |
Public Member Functions | |
btSoftRigidCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *col0, btCollisionObject *col1, bool isSwapped) | |
virtual 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 | ~btSoftRigidCollisionAlgorithm () |
Private Attributes | |
bool | m_isSwapped |
for rigid versus soft (instead of soft versus rigid), we use this swapped boolean | |
btCollisionObject * | m_rigidCollisionObject |
btSoftBody * | m_softBody |
btSoftRigidCollisionAlgorithm provides collision detection between btSoftBody and btRigidBody
Definition at line 29 of file btSoftRigidCollisionAlgorithm.h.
btSoftRigidCollisionAlgorithm::btSoftRigidCollisionAlgorithm | ( | btPersistentManifold * | mf, |
const btCollisionAlgorithmConstructionInfo & | ci, | ||
btCollisionObject * | col0, | ||
btCollisionObject * | col1, | ||
bool | isSwapped | ||
) |
virtual btSoftRigidCollisionAlgorithm::~btSoftRigidCollisionAlgorithm | ( | ) | [virtual] |
virtual btScalar btSoftRigidCollisionAlgorithm::calculateTimeOfImpact | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
virtual void btSoftRigidCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) | [inline, virtual] |
Implements btCollisionAlgorithm.
Definition at line 50 of file btSoftRigidCollisionAlgorithm.h.
virtual void btSoftRigidCollisionAlgorithm::processCollision | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
bool btSoftRigidCollisionAlgorithm::m_isSwapped [private] |
for rigid versus soft (instead of soft versus rigid), we use this swapped boolean
Definition at line 38 of file btSoftRigidCollisionAlgorithm.h.
btCollisionObject* btSoftRigidCollisionAlgorithm::m_rigidCollisionObject [private] |
Definition at line 35 of file btSoftRigidCollisionAlgorithm.h.
Definition at line 34 of file btSoftRigidCollisionAlgorithm.h.