Bullet Collision Detection & Physics Library
|
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, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, bool isSwapped) | |
void | setTimeStepAndCounters (btScalar collisionMarginTriangle, const btCollisionObjectWrapper *triObjWrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual | ~btSoftBodyTriangleCallback () |
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 |
Private Attributes | |
btSoftBody * | m_softBody |
const btCollisionObject * | m_triBody |
btVector3 | m_aabbMin |
btVector3 | m_aabbMax |
btManifoldResult * | m_resultOut |
btDispatcher * | m_dispatcher |
const btDispatcherInfo * | m_dispatchInfoPtr |
btScalar | m_collisionMarginTriangle |
btHashMap< btHashKey < btTriIndex >, btTriIndex > | m_shapeCache |
For each triangle in the concave mesh that overlaps with the AABB of a soft body (m_softBody), processTriangle is called.
Definition at line 65 of file btSoftBodyConcaveCollisionAlgorithm.h.
btSoftBodyTriangleCallback::btSoftBodyTriangleCallback | ( | btDispatcher * | dispatcher, |
const btCollisionObjectWrapper * | body0Wrap, | ||
const btCollisionObjectWrapper * | body1Wrap, | ||
bool | isSwapped | ||
) |
Definition at line 52 of file btSoftBodyConcaveCollisionAlgorithm.cpp.
|
virtual |
Definition at line 67 of file btSoftBodyConcaveCollisionAlgorithm.cpp.
void btSoftBodyTriangleCallback::clearCache | ( | ) |
Definition at line 75 of file btSoftBodyConcaveCollisionAlgorithm.cpp.
|
inline |
Definition at line 100 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
inline |
Definition at line 96 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
virtual |
debug drawing of the overlapping triangles
Implements btTriangleCallback.
Definition at line 89 of file btSoftBodyConcaveCollisionAlgorithm.cpp.
void btSoftBodyTriangleCallback::setTimeStepAndCounters | ( | btScalar | collisionMarginTriangle, |
const btCollisionObjectWrapper * | triObjWrap, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) |
Definition at line 184 of file btSoftBodyConcaveCollisionAlgorithm.cpp.
|
private |
Definition at line 71 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 70 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 77 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 75 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 76 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 73 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 79 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 67 of file btSoftBodyConcaveCollisionAlgorithm.h.
int btSoftBodyTriangleCallback::m_triangleCount |
Definition at line 82 of file btSoftBodyConcaveCollisionAlgorithm.h.
|
private |
Definition at line 68 of file btSoftBodyConcaveCollisionAlgorithm.h.