Bullet Collision Detection & Physics Library
|
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, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, bool isSwapped) | |
void | setTimeStepAndCounters (btScalar collisionMarginTriangle, const btDispatcherInfo &dispatchInfo, const btCollisionObjectWrapper *convexBodyWrap, const btCollisionObjectWrapper *triBodyWrap, btManifoldResult *resultOut) |
void | clearWrapperData () |
virtual | ~btConvexTriangleCallback () |
virtual void | processTriangle (btVector3 *triangle, int partId, int triangleIndex) |
void | clearCache () |
const btVector3 & | getAabbMin () const |
const btVector3 & | getAabbMax () const |
Public Member Functions inherited from btTriangleCallback | |
virtual | ~btTriangleCallback () |
Public Attributes | |
int | m_triangleCount |
btPersistentManifold * | m_manifoldPtr |
Private Attributes | |
const btCollisionObjectWrapper * | m_convexBodyWrap |
const btCollisionObjectWrapper * | m_triBodyWrap |
btVector3 | m_aabbMin |
btVector3 | m_aabbMax |
btManifoldResult * | m_resultOut |
btDispatcher * | m_dispatcher |
const btDispatcherInfo * | m_dispatchInfoPtr |
btScalar | m_collisionMarginTriangle |
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, |
const btCollisionObjectWrapper * | body0Wrap, | ||
const btCollisionObjectWrapper * | body1Wrap, | ||
bool | isSwapped | ||
) |
Definition at line 50 of file btConvexConcaveCollisionAlgorithm.cpp.
|
virtual |
Definition at line 65 of file btConvexConcaveCollisionAlgorithm.cpp.
void btConvexTriangleCallback::clearCache | ( | ) |
Definition at line 73 of file btConvexConcaveCollisionAlgorithm.cpp.
|
inline |
Definition at line 52 of file btConvexConcaveCollisionAlgorithm.h.
|
inline |
Definition at line 67 of file btConvexConcaveCollisionAlgorithm.h.
|
inline |
Definition at line 63 of file btConvexConcaveCollisionAlgorithm.h.
|
virtual |
Implements btTriangleCallback.
Definition at line 79 of file btConvexConcaveCollisionAlgorithm.cpp.
void btConvexTriangleCallback::setTimeStepAndCounters | ( | btScalar | collisionMarginTriangle, |
const btDispatcherInfo & | dispatchInfo, | ||
const btCollisionObjectWrapper * | convexBodyWrap, | ||
const btCollisionObjectWrapper * | triBodyWrap, | ||
btManifoldResult * | resultOut | ||
) |
Definition at line 157 of file btConvexConcaveCollisionAlgorithm.cpp.
|
private |
Definition at line 35 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 34 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 41 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 31 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 39 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 40 of file btConvexConcaveCollisionAlgorithm.h.
btPersistentManifold* btConvexTriangleCallback::m_manifoldPtr |
Definition at line 46 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 38 of file btConvexConcaveCollisionAlgorithm.h.
int btConvexTriangleCallback::m_triangleCount |
Definition at line 44 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 32 of file btConvexConcaveCollisionAlgorithm.h.