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 | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
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 () |
virtual void | processTriangle (btVector3 *triangle, int partId, int triangleIndex)=0 |
Public Attributes | |
int | m_triangleCount |
btPersistentManifold * | m_manifoldPtr |
Private Attributes | |
btVector3 | m_aabbMin |
btVector3 | m_aabbMax |
const btCollisionObjectWrapper * | m_convexBodyWrap |
const btCollisionObjectWrapper * | m_triBodyWrap |
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 64 of file btConvexConcaveCollisionAlgorithm.cpp.
btConvexTriangleCallback::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
void btConvexTriangleCallback::clearCache | ( | ) |
Definition at line 70 of file btConvexConcaveCollisionAlgorithm.cpp.
|
inline |
Definition at line 54 of file btConvexConcaveCollisionAlgorithm.h.
|
inline |
Definition at line 69 of file btConvexConcaveCollisionAlgorithm.h.
|
inline |
Definition at line 65 of file btConvexConcaveCollisionAlgorithm.h.
|
virtual |
Implements btTriangleCallback.
Definition at line 75 of file btConvexConcaveCollisionAlgorithm.cpp.
void btConvexTriangleCallback::setTimeStepAndCounters | ( | btScalar | collisionMarginTriangle, |
const btDispatcherInfo & | dispatchInfo, | ||
const btCollisionObjectWrapper * | convexBodyWrap, | ||
const btCollisionObjectWrapper * | triBodyWrap, | ||
btManifoldResult * | resultOut | ||
) |
Definition at line 192 of file btConvexConcaveCollisionAlgorithm.cpp.
|
private |
Definition at line 33 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 32 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 41 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 35 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 48 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 38 of file btConvexConcaveCollisionAlgorithm.h.
int btConvexTriangleCallback::m_triangleCount |
Definition at line 46 of file btConvexConcaveCollisionAlgorithm.h.
|
private |
Definition at line 36 of file btConvexConcaveCollisionAlgorithm.h.