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

btSoftBodyConcaveCollisionAlgorithm supports collision between soft body shapes and (concave) trianges meshes. More...

#include <btSoftBodyConcaveCollisionAlgorithm.h>

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

Classes

struct  CreateFunc
 
struct  SwappedCreateFunc
 

Public Member Functions

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

Private Attributes

bool m_isSwapped
 
btSoftBodyTriangleCallback m_btSoftBodyTriangleCallback
 

Additional Inherited Members

- Protected Attributes inherited from btCollisionAlgorithm
btDispatcherm_dispatcher
 

Detailed Description

btSoftBodyConcaveCollisionAlgorithm supports collision between soft body shapes and (concave) trianges meshes.

Definition at line 111 of file btSoftBodyConcaveCollisionAlgorithm.h.

Constructor & Destructor Documentation

btSoftBodyConcaveCollisionAlgorithm::btSoftBodyConcaveCollisionAlgorithm ( const btCollisionAlgorithmConstructionInfo ci,
const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap,
bool  isSwapped 
)

Definition at line 37 of file btSoftBodyConcaveCollisionAlgorithm.cpp.

btSoftBodyConcaveCollisionAlgorithm::~btSoftBodyConcaveCollisionAlgorithm ( )
virtual

Definition at line 46 of file btSoftBodyConcaveCollisionAlgorithm.cpp.

Member Function Documentation

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

Implements btCollisionAlgorithm.

Definition at line 244 of file btSoftBodyConcaveCollisionAlgorithm.cpp.

void btSoftBodyConcaveCollisionAlgorithm::clearCache ( )

Definition at line 205 of file btSoftBodyConcaveCollisionAlgorithm.cpp.

virtual void btSoftBodyConcaveCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray)
inlinevirtual

Implements btCollisionAlgorithm.

Definition at line 128 of file btSoftBodyConcaveCollisionAlgorithm.h.

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

Implements btCollisionAlgorithm.

Definition at line 211 of file btSoftBodyConcaveCollisionAlgorithm.cpp.

Member Data Documentation

btSoftBodyTriangleCallback btSoftBodyConcaveCollisionAlgorithm::m_btSoftBodyTriangleCallback
private

Definition at line 116 of file btSoftBodyConcaveCollisionAlgorithm.h.

bool btSoftBodyConcaveCollisionAlgorithm::m_isSwapped
private

Definition at line 114 of file btSoftBodyConcaveCollisionAlgorithm.h.


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