Bullet Collision Detection & Physics Library
Classes | Public Member Functions | Private Attributes | List of all members
btSoftSoftCollisionAlgorithm Class Reference

collision detection between two btSoftBody shapes More...

#include <btSoftSoftCollisionAlgorithm.h>

Inheritance diagram for btSoftSoftCollisionAlgorithm:
Inheritance graph
[legend]
Collaboration diagram for btSoftSoftCollisionAlgorithm:
Collaboration graph
[legend]

Classes

struct  CreateFunc
 

Public Member Functions

 btSoftSoftCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual void processCollision (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
 
virtual btScalar calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
 
virtual void getAllContactManifolds (btManifoldArray &manifoldArray)
 
 btSoftSoftCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
 
virtual ~btSoftSoftCollisionAlgorithm ()
 
- Public Member Functions inherited from btCollisionAlgorithm
 btCollisionAlgorithm ()
 
 btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual ~btCollisionAlgorithm ()
 

Private Attributes

bool m_ownManifold
 
btPersistentManifoldm_manifoldPtr
 
btSoftBodym_softBody0
 
btSoftBodym_softBody1
 

Additional Inherited Members

- Protected Attributes inherited from btCollisionAlgorithm
btDispatcherm_dispatcher
 

Detailed Description

collision detection between two btSoftBody shapes

Definition at line 28 of file btSoftSoftCollisionAlgorithm.h.

Constructor & Destructor Documentation

btSoftSoftCollisionAlgorithm::btSoftSoftCollisionAlgorithm ( const btCollisionAlgorithmConstructionInfo ci)
inline

Definition at line 38 of file btSoftSoftCollisionAlgorithm.h.

btSoftSoftCollisionAlgorithm::btSoftSoftCollisionAlgorithm ( btPersistentManifold mf,
const btCollisionAlgorithmConstructionInfo ci,
const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap 
)

Definition at line 26 of file btSoftSoftCollisionAlgorithm.cpp.

btSoftSoftCollisionAlgorithm::~btSoftSoftCollisionAlgorithm ( )
virtual

Definition at line 33 of file btSoftSoftCollisionAlgorithm.cpp.

Member Function Documentation

btScalar btSoftSoftCollisionAlgorithm::calculateTimeOfImpact ( btCollisionObject body0,
btCollisionObject body1,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)
virtual

Implements btCollisionAlgorithm.

Definition at line 44 of file btSoftSoftCollisionAlgorithm.cpp.

virtual void btSoftSoftCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray)
inlinevirtual

Implements btCollisionAlgorithm.

Definition at line 45 of file btSoftSoftCollisionAlgorithm.h.

void btSoftSoftCollisionAlgorithm::processCollision ( const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)
virtual

Implements btCollisionAlgorithm.

Definition at line 37 of file btSoftSoftCollisionAlgorithm.cpp.

Member Data Documentation

btPersistentManifold* btSoftSoftCollisionAlgorithm::m_manifoldPtr
private

Definition at line 31 of file btSoftSoftCollisionAlgorithm.h.

bool btSoftSoftCollisionAlgorithm::m_ownManifold
private

Definition at line 30 of file btSoftSoftCollisionAlgorithm.h.

btSoftBody* btSoftSoftCollisionAlgorithm::m_softBody0
private

Definition at line 33 of file btSoftSoftCollisionAlgorithm.h.

btSoftBody* btSoftSoftCollisionAlgorithm::m_softBody1
private

Definition at line 34 of file btSoftSoftCollisionAlgorithm.h.


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