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

SpuContactManifoldCollisionAlgorithm provides contact manifold and should be processed on SPU. More...

#include <SpuContactManifoldCollisionAlgorithm.h>

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

Classes

struct  CreateFunc
 

Public Member Functions

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)
 
 SpuContactManifoldCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObject *body0, const btCollisionObject *body1)
 
virtual ~SpuContactManifoldCollisionAlgorithm ()
 
virtual void getAllContactManifolds (btManifoldArray &manifoldArray)
 
btPersistentManifoldgetContactManifoldPtr ()
 
const btCollisionObjectgetCollisionObject0 ()
 
const btCollisionObjectgetCollisionObject1 ()
 
int getShapeType0 () const
 
int getShapeType1 () const
 
float getCollisionMargin0 () const
 
float getCollisionMargin1 () const
 
const btVector3getShapeDimensions0 () const
 
const btVector3getShapeDimensions1 () const
 
- Public Member Functions inherited from btCollisionAlgorithm
 btCollisionAlgorithm ()
 
 btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual ~btCollisionAlgorithm ()
 

Private Attributes

btVector3 m_shapeDimensions0
 
btVector3 m_shapeDimensions1
 
btPersistentManifoldm_manifoldPtr
 
int m_shapeType0
 
int m_shapeType1
 
float m_collisionMargin0
 
float m_collisionMargin1
 
const btCollisionObjectm_collisionObject0
 
const btCollisionObjectm_collisionObject1
 

Additional Inherited Members

- Protected Attributes inherited from btCollisionAlgorithm
btDispatcherm_dispatcher
 

Detailed Description

SpuContactManifoldCollisionAlgorithm provides contact manifold and should be processed on SPU.

Definition at line 31 of file SpuContactManifoldCollisionAlgorithm.h.

Constructor & Destructor Documentation

SpuContactManifoldCollisionAlgorithm::SpuContactManifoldCollisionAlgorithm ( const btCollisionAlgorithmConstructionInfo ci,
const btCollisionObject body0,
const btCollisionObject body1 
)

Definition at line 37 of file SpuContactManifoldCollisionAlgorithm.cpp.

SpuContactManifoldCollisionAlgorithm::~SpuContactManifoldCollisionAlgorithm ( )
virtual

Definition at line 65 of file SpuContactManifoldCollisionAlgorithm.cpp.

Member Function Documentation

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

Implements btCollisionAlgorithm.

Definition at line 30 of file SpuContactManifoldCollisionAlgorithm.cpp.

virtual void SpuContactManifoldCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray)
inlinevirtual

Implements btCollisionAlgorithm.

Definition at line 61 of file SpuContactManifoldCollisionAlgorithm.h.

float SpuContactManifoldCollisionAlgorithm::getCollisionMargin0 ( ) const
inline

Definition at line 91 of file SpuContactManifoldCollisionAlgorithm.h.

float SpuContactManifoldCollisionAlgorithm::getCollisionMargin1 ( ) const
inline

Definition at line 95 of file SpuContactManifoldCollisionAlgorithm.h.

const btCollisionObject* SpuContactManifoldCollisionAlgorithm::getCollisionObject0 ( )
inline

Definition at line 72 of file SpuContactManifoldCollisionAlgorithm.h.

const btCollisionObject* SpuContactManifoldCollisionAlgorithm::getCollisionObject1 ( )
inline

Definition at line 77 of file SpuContactManifoldCollisionAlgorithm.h.

btPersistentManifold* SpuContactManifoldCollisionAlgorithm::getContactManifoldPtr ( )
inline

Definition at line 67 of file SpuContactManifoldCollisionAlgorithm.h.

const btVector3& SpuContactManifoldCollisionAlgorithm::getShapeDimensions0 ( ) const
inline

Definition at line 100 of file SpuContactManifoldCollisionAlgorithm.h.

const btVector3& SpuContactManifoldCollisionAlgorithm::getShapeDimensions1 ( ) const
inline

Definition at line 105 of file SpuContactManifoldCollisionAlgorithm.h.

int SpuContactManifoldCollisionAlgorithm::getShapeType0 ( ) const
inline

Definition at line 82 of file SpuContactManifoldCollisionAlgorithm.h.

int SpuContactManifoldCollisionAlgorithm::getShapeType1 ( ) const
inline

Definition at line 87 of file SpuContactManifoldCollisionAlgorithm.h.

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

Implements btCollisionAlgorithm.

Definition at line 25 of file SpuContactManifoldCollisionAlgorithm.cpp.

Member Data Documentation

float SpuContactManifoldCollisionAlgorithm::m_collisionMargin0
private

Definition at line 38 of file SpuContactManifoldCollisionAlgorithm.h.

float SpuContactManifoldCollisionAlgorithm::m_collisionMargin1
private

Definition at line 39 of file SpuContactManifoldCollisionAlgorithm.h.

const btCollisionObject* SpuContactManifoldCollisionAlgorithm::m_collisionObject0
private

Definition at line 41 of file SpuContactManifoldCollisionAlgorithm.h.

const btCollisionObject* SpuContactManifoldCollisionAlgorithm::m_collisionObject1
private

Definition at line 42 of file SpuContactManifoldCollisionAlgorithm.h.

btPersistentManifold* SpuContactManifoldCollisionAlgorithm::m_manifoldPtr
private

Definition at line 35 of file SpuContactManifoldCollisionAlgorithm.h.

btVector3 SpuContactManifoldCollisionAlgorithm::m_shapeDimensions0
private

Definition at line 33 of file SpuContactManifoldCollisionAlgorithm.h.

btVector3 SpuContactManifoldCollisionAlgorithm::m_shapeDimensions1
private

Definition at line 34 of file SpuContactManifoldCollisionAlgorithm.h.

int SpuContactManifoldCollisionAlgorithm::m_shapeType0
private

Definition at line 36 of file SpuContactManifoldCollisionAlgorithm.h.

int SpuContactManifoldCollisionAlgorithm::m_shapeType1
private

Definition at line 37 of file SpuContactManifoldCollisionAlgorithm.h.


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