For each triangle in the concave mesh that overlaps with the AABB of a soft body (m_softBody), processTriangle is called. More...
#include <btSoftBodyConcaveCollisionAlgorithm.h>
Public Member Functions | |
btSoftBodyTriangleCallback (btDispatcher *dispatcher, btCollisionObject *body0, btCollisionObject *body1, bool isSwapped) | |
void | clearCache () |
SIMD_FORCE_INLINE const btVector3 & | getAabbMax () const |
SIMD_FORCE_INLINE const btVector3 & | getAabbMin () const |
virtual void | processTriangle (btVector3 *triangle, int partId, int triangleIndex) |
void | setTimeStepAndCounters (btScalar collisionMarginTriangle, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual | ~btSoftBodyTriangleCallback () |
Public Attributes | |
int | m_triangleCount |
Private Attributes | |
btVector3 | m_aabbMax |
btVector3 | m_aabbMin |
btScalar | m_collisionMarginTriangle |
btDispatcher * | m_dispatcher |
const btDispatcherInfo * | m_dispatchInfoPtr |
btManifoldResult * | m_resultOut |
btHashMap< btHashKey < btTriIndex >, btTriIndex > | m_shapeCache |
btSoftBody * | m_softBody |
btCollisionObject * | m_triBody |
For each triangle in the concave mesh that overlaps with the AABB of a soft body (m_softBody), processTriangle is called.
Definition at line 63 of file btSoftBodyConcaveCollisionAlgorithm.h.
btSoftBodyTriangleCallback::btSoftBodyTriangleCallback | ( | btDispatcher * | dispatcher, |
btCollisionObject * | body0, | ||
btCollisionObject * | body1, | ||
bool | isSwapped | ||
) |
virtual btSoftBodyTriangleCallback::~btSoftBodyTriangleCallback | ( | ) | [virtual] |
SIMD_FORCE_INLINE const btVector3& btSoftBodyTriangleCallback::getAabbMax | ( | ) | const [inline] |
Definition at line 98 of file btSoftBodyConcaveCollisionAlgorithm.h.
SIMD_FORCE_INLINE const btVector3& btSoftBodyTriangleCallback::getAabbMin | ( | ) | const [inline] |
Definition at line 94 of file btSoftBodyConcaveCollisionAlgorithm.h.
virtual void btSoftBodyTriangleCallback::processTriangle | ( | btVector3 * | triangle, |
int | partId, | ||
int | triangleIndex | ||
) | [virtual] |
Implements btTriangleCallback.
void btSoftBodyTriangleCallback::setTimeStepAndCounters | ( | btScalar | collisionMarginTriangle, |
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) |
btVector3 btSoftBodyTriangleCallback::m_aabbMax [private] |
Definition at line 69 of file btSoftBodyConcaveCollisionAlgorithm.h.
btVector3 btSoftBodyTriangleCallback::m_aabbMin [private] |
Definition at line 68 of file btSoftBodyConcaveCollisionAlgorithm.h.
Definition at line 75 of file btSoftBodyConcaveCollisionAlgorithm.h.
Definition at line 73 of file btSoftBodyConcaveCollisionAlgorithm.h.
const btDispatcherInfo* btSoftBodyTriangleCallback::m_dispatchInfoPtr [private] |
Definition at line 74 of file btSoftBodyConcaveCollisionAlgorithm.h.
Definition at line 71 of file btSoftBodyConcaveCollisionAlgorithm.h.
Definition at line 77 of file btSoftBodyConcaveCollisionAlgorithm.h.
btSoftBody* btSoftBodyTriangleCallback::m_softBody [private] |
Definition at line 65 of file btSoftBodyConcaveCollisionAlgorithm.h.
Definition at line 80 of file btSoftBodyConcaveCollisionAlgorithm.h.
btCollisionObject* btSoftBodyTriangleCallback::m_triBody [private] |
Definition at line 66 of file btSoftBodyConcaveCollisionAlgorithm.h.