Classes | Public Member Functions | Private Attributes
BuoyantShapeConvexCollisionAlgorithm Class Reference

#include <BuoyantShapeConvexCollisionAlgorithm.h>

List of all members.

Classes

struct  CreateFunc

Public Member Functions

 BuoyantShapeConvexCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *col0, btCollisionObject *col1, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *pdSolver, bool isSwapped, int proxyType)
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 ~BuoyantShapeConvexCollisionAlgorithm ()

Private Attributes

btCollisionAlgorithm * m_collisionAlgorithm
btCollisionObject * m_collisionObject0
btCollisionObject * m_collisionObject1
bool m_isSwapped
 for convex vs buoyant (instead of buoyant vs convex), we use this swapped boolean
int m_proxyType

Detailed Description

experimental buyancy fluid demo btHfFluidBuoyantShapeCollisionAlgorithm provides collision detection between btHfFluidBuoyantConvexShape and btConvexShape

Definition at line 26 of file BuoyantShapeConvexCollisionAlgorithm.h.


Constructor & Destructor Documentation

BuoyantShapeConvexCollisionAlgorithm::BuoyantShapeConvexCollisionAlgorithm ( const btCollisionAlgorithmConstructionInfo &  ci,
btCollisionObject *  col0,
btCollisionObject *  col1,
btSimplexSolverInterface *  simplexSolver,
btConvexPenetrationDepthSolver *  pdSolver,
bool  isSwapped,
int  proxyType 
)

Definition at line 19 of file BuoyantShapeConvexCollisionAlgorithm.cpp.

Definition at line 45 of file BuoyantShapeConvexCollisionAlgorithm.cpp.


Member Function Documentation

btScalar BuoyantShapeConvexCollisionAlgorithm::calculateTimeOfImpact ( btCollisionObject *  body0,
btCollisionObject *  body1,
const btDispatcherInfo &  dispatchInfo,
btManifoldResult *  resultOut 
) [virtual]

Definition at line 76 of file BuoyantShapeConvexCollisionAlgorithm.cpp.

virtual void BuoyantShapeConvexCollisionAlgorithm::getAllContactManifolds ( btManifoldArray &  manifoldArray) [inline, virtual]

Definition at line 50 of file BuoyantShapeConvexCollisionAlgorithm.h.

void BuoyantShapeConvexCollisionAlgorithm::processCollision ( btCollisionObject *  body0,
btCollisionObject *  body1,
const btDispatcherInfo &  dispatchInfo,
btManifoldResult *  resultOut 
) [virtual]

Definition at line 49 of file BuoyantShapeConvexCollisionAlgorithm.cpp.


Member Data Documentation

Definition at line 35 of file BuoyantShapeConvexCollisionAlgorithm.h.

Definition at line 28 of file BuoyantShapeConvexCollisionAlgorithm.h.

Definition at line 29 of file BuoyantShapeConvexCollisionAlgorithm.h.

for convex vs buoyant (instead of buoyant vs convex), we use this swapped boolean

Definition at line 32 of file BuoyantShapeConvexCollisionAlgorithm.h.

Definition at line 33 of file BuoyantShapeConvexCollisionAlgorithm.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