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

btConvexConcaveCollisionAlgorithm supports collision between convex shapes and (concave) trianges meshes. More...

#include <btConvexConcaveCollisionAlgorithm.h>

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

Classes

struct  CreateFunc
 
struct  SwappedCreateFunc
 

Public Member Functions

 btConvexConcaveCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, bool isSwapped)
 
virtual ~btConvexConcaveCollisionAlgorithm ()
 
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 btActivatingCollisionAlgorithm
 btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
 btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
 
virtual ~btActivatingCollisionAlgorithm ()
 
- Public Member Functions inherited from btCollisionAlgorithm
 btCollisionAlgorithm ()
 
 btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual ~btCollisionAlgorithm ()
 

Private Attributes

bool m_isSwapped
 
btConvexTriangleCallback m_btConvexTriangleCallback
 

Additional Inherited Members

- Protected Attributes inherited from btCollisionAlgorithm
btDispatcherm_dispatcher
 

Detailed Description

btConvexConcaveCollisionAlgorithm supports collision between convex shapes and (concave) trianges meshes.

Definition at line 78 of file btConvexConcaveCollisionAlgorithm.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file btConvexConcaveCollisionAlgorithm.cpp.

btConvexConcaveCollisionAlgorithm::~btConvexConcaveCollisionAlgorithm ( )
virtual

Definition at line 37 of file btConvexConcaveCollisionAlgorithm.cpp.

Member Function Documentation

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

Implements btCollisionAlgorithm.

Definition at line 222 of file btConvexConcaveCollisionAlgorithm.cpp.

void btConvexConcaveCollisionAlgorithm::clearCache ( )

Definition at line 180 of file btConvexConcaveCollisionAlgorithm.cpp.

void btConvexConcaveCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray)
virtual

Implements btCollisionAlgorithm.

Definition at line 41 of file btConvexConcaveCollisionAlgorithm.cpp.

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

Implements btCollisionAlgorithm.

Definition at line 186 of file btConvexConcaveCollisionAlgorithm.cpp.

Member Data Documentation

btConvexTriangleCallback btConvexConcaveCollisionAlgorithm::m_btConvexTriangleCallback
private

Definition at line 83 of file btConvexConcaveCollisionAlgorithm.h.

bool btConvexConcaveCollisionAlgorithm::m_isSwapped
private

Definition at line 81 of file btConvexConcaveCollisionAlgorithm.h.


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