For each triangle in the concave mesh that overlaps with the AABB of a convex (m_convexProxy), processTriangle is called. More...
#include <btConvexConcaveCollisionAlgorithm.h>
Public Member Functions | |
btConvexTriangleCallback (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 | ~btConvexTriangleCallback () |
Public Attributes | |
btPersistentManifold * | m_manifoldPtr |
int | m_triangleCount |
Private Attributes | |
btVector3 | m_aabbMax |
btVector3 | m_aabbMin |
btScalar | m_collisionMarginTriangle |
btCollisionObject * | m_convexBody |
btDispatcher * | m_dispatcher |
const btDispatcherInfo * | m_dispatchInfoPtr |
btManifoldResult * | m_resultOut |
btCollisionObject * | m_triBody |
For each triangle in the concave mesh that overlaps with the AABB of a convex (m_convexProxy), processTriangle is called.
Definition at line 29 of file btConvexConcaveCollisionAlgorithm.h.
btConvexTriangleCallback::btConvexTriangleCallback | ( | btDispatcher * | dispatcher, |
btCollisionObject * | body0, | ||
btCollisionObject * | body1, | ||
bool | isSwapped | ||
) |
virtual btConvexTriangleCallback::~btConvexTriangleCallback | ( | ) | [virtual] |
void btConvexTriangleCallback::clearCache | ( | ) |
SIMD_FORCE_INLINE const btVector3& btConvexTriangleCallback::getAabbMax | ( | ) | const [inline] |
Definition at line 62 of file btConvexConcaveCollisionAlgorithm.h.
SIMD_FORCE_INLINE const btVector3& btConvexTriangleCallback::getAabbMin | ( | ) | const [inline] |
Definition at line 58 of file btConvexConcaveCollisionAlgorithm.h.
virtual void btConvexTriangleCallback::processTriangle | ( | btVector3 * | triangle, |
int | partId, | ||
int | triangleIndex | ||
) | [virtual] |
Implements btTriangleCallback.
void btConvexTriangleCallback::setTimeStepAndCounters | ( | btScalar | collisionMarginTriangle, |
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) |
btVector3 btConvexTriangleCallback::m_aabbMax [private] |
Definition at line 35 of file btConvexConcaveCollisionAlgorithm.h.
btVector3 btConvexTriangleCallback::m_aabbMin [private] |
Definition at line 34 of file btConvexConcaveCollisionAlgorithm.h.
Definition at line 41 of file btConvexConcaveCollisionAlgorithm.h.
btCollisionObject* btConvexTriangleCallback::m_convexBody [private] |
Definition at line 31 of file btConvexConcaveCollisionAlgorithm.h.
Definition at line 39 of file btConvexConcaveCollisionAlgorithm.h.
const btDispatcherInfo* btConvexTriangleCallback::m_dispatchInfoPtr [private] |
Definition at line 40 of file btConvexConcaveCollisionAlgorithm.h.
btPersistentManifold* btConvexTriangleCallback::m_manifoldPtr |
Definition at line 46 of file btConvexConcaveCollisionAlgorithm.h.
Definition at line 38 of file btConvexConcaveCollisionAlgorithm.h.
Definition at line 44 of file btConvexConcaveCollisionAlgorithm.h.
btCollisionObject* btConvexTriangleCallback::m_triBody [private] |
Definition at line 32 of file btConvexConcaveCollisionAlgorithm.h.