Blender V2.61 - r43446
Public Member Functions | Protected Attributes

btManifoldResult Class Reference

btManifoldResult is a helper class to manage contact results. More...

#include <btManifoldResult.h>

Inheritance diagram for btManifoldResult:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btManifoldResult ()
 btManifoldResult (btCollisionObject *body0, btCollisionObject *body1)
virtual ~btManifoldResult ()
void setPersistentManifold (btPersistentManifold *manifoldPtr)
const btPersistentManifold * getPersistentManifold () const
btPersistentManifold * getPersistentManifold ()
virtual void setShapeIdentifiersA (int partId0, int index0)
 setShapeIdentifiersA/B provides experimental support for per-triangle material / custom material combiner
virtual void setShapeIdentifiersB (int partId1, int index1)
virtual void addContactPoint (const btVector3 &normalOnBInWorld, const btVector3 &pointInWorld, btScalar depth)
SIMD_FORCE_INLINE void refreshContactPoints ()
const btCollisionObject * getBody0Internal () const
const btCollisionObject * getBody1Internal () const

Protected Attributes

btPersistentManifold * m_manifoldPtr
btTransform m_rootTransA
btTransform m_rootTransB
btCollisionObject * m_body0
btCollisionObject * m_body1
int m_partId0
int m_partId1
int m_index0
int m_index1

Detailed Description

btManifoldResult is a helper class to manage contact results.

Definition at line 35 of file btManifoldResult.h.


Constructor & Destructor Documentation

btManifoldResult::btManifoldResult ( ) [inline]

Definition at line 55 of file btManifoldResult.h.

btManifoldResult::btManifoldResult ( btCollisionObject *  body0,
btCollisionObject *  body1 
)

Definition at line 46 of file btManifoldResult.cpp.

References m_rootTransA, and m_rootTransB.

virtual btManifoldResult::~btManifoldResult ( ) [inline, virtual]

Definition at line 68 of file btManifoldResult.h.


Member Function Documentation

void btManifoldResult::addContactPoint ( const btVector3 &  normalOnBInWorld,
const btVector3 &  pointInWorld,
btScalar  depth 
) [virtual]
const btCollisionObject* btManifoldResult::getBody0Internal ( ) const [inline]
const btCollisionObject* btManifoldResult::getBody1Internal ( ) const [inline]

Definition at line 121 of file btManifoldResult.h.

References m_body1.

const btPersistentManifold* btManifoldResult::getPersistentManifold ( ) const [inline]
btPersistentManifold* btManifoldResult::getPersistentManifold ( ) [inline]

Definition at line 79 of file btManifoldResult.h.

References m_manifoldPtr.

SIMD_FORCE_INLINE void btManifoldResult::refreshContactPoints ( ) [inline]
void btManifoldResult::setPersistentManifold ( btPersistentManifold *  manifoldPtr) [inline]
virtual void btManifoldResult::setShapeIdentifiersA ( int  partId0,
int  index0 
) [inline, virtual]
virtual void btManifoldResult::setShapeIdentifiersB ( int  partId1,
int  index1 
) [inline, virtual]

Member Data Documentation

btCollisionObject* btManifoldResult::m_body0 [protected]
btCollisionObject* btManifoldResult::m_body1 [protected]
int btManifoldResult::m_index0 [protected]
int btManifoldResult::m_index1 [protected]
btPersistentManifold* btManifoldResult::m_manifoldPtr [protected]
int btManifoldResult::m_partId0 [protected]
int btManifoldResult::m_partId1 [protected]

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