Classes | Public Member Functions | Private Member Functions | Private Attributes
btHfFluidRigidCollisionAlgorithm Class Reference

#include <btHfFluidRigidCollisionAlgorithm.h>

List of all members.

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
btHfFluidm_hfFluid
bool m_isSwapped
 for rigid versus fluid (instead of fluid versus rigid), we use this swapped boolean
btPersistentManifold * m_manifoldPtr
btCollisionObject * m_rigidCollisionObject

Detailed Description

experimental buyancy fluid demo btHfFluidRigidCollisionAlgorithm provides collision detection between btHfFluid and btRigidBody

Definition at line 34 of file btHfFluidRigidCollisionAlgorithm.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 44 of file btHfFluidRigidCollisionAlgorithm.h.

Definition at line 38 of file btHfFluidRigidCollisionAlgorithm.h.

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.

Definition at line 39 of file btHfFluidRigidCollisionAlgorithm.h.


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


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07