btManifoldResult is a helper class to manage contact results. More...
#include <btManifoldResult.h>
Public Member Functions | |
virtual void | addContactPoint (const btVector3 &normalOnBInWorld, const btVector3 &pointInWorld, btScalar depth) |
btManifoldResult () | |
btManifoldResult (btCollisionObject *body0, btCollisionObject *body1) | |
const btCollisionObject * | getBody0Internal () const |
const btCollisionObject * | getBody1Internal () const |
const btPersistentManifold * | getPersistentManifold () const |
btPersistentManifold * | getPersistentManifold () |
SIMD_FORCE_INLINE void | refreshContactPoints () |
void | setPersistentManifold (btPersistentManifold *manifoldPtr) |
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 | ~btManifoldResult () |
Protected Attributes | |
btCollisionObject * | m_body0 |
btCollisionObject * | m_body1 |
int | m_index0 |
int | m_index1 |
btPersistentManifold * | m_manifoldPtr |
int | m_partId0 |
int | m_partId1 |
btTransform | m_rootTransA |
btTransform | m_rootTransB |
btManifoldResult is a helper class to manage contact results.
Definition at line 35 of file btManifoldResult.h.
btManifoldResult::btManifoldResult | ( | ) | [inline] |
Definition at line 55 of file btManifoldResult.h.
btManifoldResult::btManifoldResult | ( | btCollisionObject * | body0, |
btCollisionObject * | body1 | ||
) |
virtual btManifoldResult::~btManifoldResult | ( | ) | [inline, virtual] |
Definition at line 68 of file btManifoldResult.h.
virtual void btManifoldResult::addContactPoint | ( | const btVector3 & | normalOnBInWorld, |
const btVector3 & | pointInWorld, | ||
btScalar | depth | ||
) | [virtual] |
Implements btDiscreteCollisionDetectorInterface::Result.
const btCollisionObject* btManifoldResult::getBody0Internal | ( | ) | const [inline] |
Definition at line 116 of file btManifoldResult.h.
const btCollisionObject* btManifoldResult::getBody1Internal | ( | ) | const [inline] |
Definition at line 121 of file btManifoldResult.h.
const btPersistentManifold* btManifoldResult::getPersistentManifold | ( | ) | const [inline] |
Definition at line 75 of file btManifoldResult.h.
btPersistentManifold* btManifoldResult::getPersistentManifold | ( | ) | [inline] |
Definition at line 79 of file btManifoldResult.h.
SIMD_FORCE_INLINE void btManifoldResult::refreshContactPoints | ( | ) | [inline] |
Definition at line 99 of file btManifoldResult.h.
void btManifoldResult::setPersistentManifold | ( | btPersistentManifold * | manifoldPtr | ) | [inline] |
Definition at line 70 of file btManifoldResult.h.
virtual void btManifoldResult::setShapeIdentifiersA | ( | int | partId0, |
int | index0 | ||
) | [inline, virtual] |
setShapeIdentifiersA/B provides experimental support for per-triangle material / custom material combiner
Implements btDiscreteCollisionDetectorInterface::Result.
Definition at line 84 of file btManifoldResult.h.
virtual void btManifoldResult::setShapeIdentifiersB | ( | int | partId1, |
int | index1 | ||
) | [inline, virtual] |
Implements btDiscreteCollisionDetectorInterface::Result.
Definition at line 90 of file btManifoldResult.h.
btCollisionObject* btManifoldResult::m_body0 [protected] |
Definition at line 45 of file btManifoldResult.h.
btCollisionObject* btManifoldResult::m_body1 [protected] |
Definition at line 46 of file btManifoldResult.h.
int btManifoldResult::m_index0 [protected] |
Definition at line 49 of file btManifoldResult.h.
int btManifoldResult::m_index1 [protected] |
Definition at line 50 of file btManifoldResult.h.
btPersistentManifold* btManifoldResult::m_manifoldPtr [protected] |
Definition at line 39 of file btManifoldResult.h.
int btManifoldResult::m_partId0 [protected] |
Definition at line 47 of file btManifoldResult.h.
int btManifoldResult::m_partId1 [protected] |
Definition at line 48 of file btManifoldResult.h.
btTransform btManifoldResult::m_rootTransA [protected] |
Definition at line 42 of file btManifoldResult.h.
btTransform btManifoldResult::m_rootTransB [protected] |
Definition at line 43 of file btManifoldResult.h.