#include <btHfFluidRigidCollisionAlgorithm.h>
Classes | |
| struct | CreateFunc |
Public Member Functions | |
| btHfFluidRigidCollisionAlgorithm (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 | ~btHfFluidRigidCollisionAlgorithm () |
Private Member Functions | |
| void | applyFluidFriction (btScalar mu, btScalar submerged_percentage) |
| btScalar | processFluid (const btDispatcherInfo &dispatchInfo, btScalar density, btScalar floatyness) |
| void | processGround (const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
Private Attributes | |
| btConvexTriangleCallback | m_convexTrianglecallback |
| btHfFluid * | m_hfFluid |
| bool | m_isSwapped |
| for rigid versus fluid (instead of fluid versus rigid), we use this swapped boolean | |
| btPersistentManifold * | m_manifoldPtr |
| btCollisionObject * | m_rigidCollisionObject |
experimental buyancy fluid demo btHfFluidRigidCollisionAlgorithm provides collision detection between btHfFluid and btRigidBody
Definition at line 34 of file btHfFluidRigidCollisionAlgorithm.h.
| btHfFluidRigidCollisionAlgorithm::btHfFluidRigidCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci, |
| btCollisionObject * | col0, | ||
| btCollisionObject * | col1, | ||
| bool | isSwapped | ||
| ) |
Definition at line 34 of file btHfFluidRigidCollisionAlgorithm.cpp.
Definition at line 30 of file btHfFluidRigidCollisionAlgorithm.cpp.
| void btHfFluidRigidCollisionAlgorithm::applyFluidFriction | ( | btScalar | mu, |
| btScalar | submerged_percentage | ||
| ) | [private] |
Definition at line 81 of file btHfFluidRigidCollisionAlgorithm.cpp.
| btScalar btHfFluidRigidCollisionAlgorithm::calculateTimeOfImpact | ( | btCollisionObject * | body0, |
| btCollisionObject * | body1, | ||
| const btDispatcherInfo & | dispatchInfo, | ||
| btManifoldResult * | resultOut | ||
| ) | [virtual] |
Definition at line 144 of file btHfFluidRigidCollisionAlgorithm.cpp.
| virtual void btHfFluidRigidCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) | [inline, virtual] |
Definition at line 62 of file btHfFluidRigidCollisionAlgorithm.h.
| void btHfFluidRigidCollisionAlgorithm::processCollision | ( | btCollisionObject * | body0, |
| btCollisionObject * | body1, | ||
| const btDispatcherInfo & | dispatchInfo, | ||
| btManifoldResult * | resultOut | ||
| ) | [virtual] |
Definition at line 119 of file btHfFluidRigidCollisionAlgorithm.cpp.
| btScalar btHfFluidRigidCollisionAlgorithm::processFluid | ( | const btDispatcherInfo & | dispatchInfo, |
| btScalar | density, | ||
| btScalar | floatyness | ||
| ) | [private] |
Definition at line 71 of file btHfFluidRigidCollisionAlgorithm.cpp.
| void btHfFluidRigidCollisionAlgorithm::processGround | ( | const btDispatcherInfo & | dispatchInfo, |
| btManifoldResult * | resultOut | ||
| ) | [private] |
Definition at line 54 of file btHfFluidRigidCollisionAlgorithm.cpp.
btConvexTriangleCallback btHfFluidRigidCollisionAlgorithm::m_convexTrianglecallback [private] |
Definition at line 44 of file btHfFluidRigidCollisionAlgorithm.h.
Definition at line 38 of file btHfFluidRigidCollisionAlgorithm.h.
bool btHfFluidRigidCollisionAlgorithm::m_isSwapped [private] |
for rigid versus fluid (instead of fluid versus rigid), we use this swapped boolean
Definition at line 42 of file btHfFluidRigidCollisionAlgorithm.h.
btPersistentManifold* btHfFluidRigidCollisionAlgorithm::m_manifoldPtr [private] |
Definition at line 36 of file btHfFluidRigidCollisionAlgorithm.h.
btCollisionObject* btHfFluidRigidCollisionAlgorithm::m_rigidCollisionObject [private] |
Definition at line 39 of file btHfFluidRigidCollisionAlgorithm.h.