Blender V2.61 - r43446
Public Member Functions | Public Attributes

btSoftBodyTriangleCallback Class Reference

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>

Inheritance diagram for btSoftBodyTriangleCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btSoftBodyTriangleCallback (btDispatcher *dispatcher, btCollisionObject *body0, btCollisionObject *body1, bool isSwapped)
void setTimeStepAndCounters (btScalar collisionMarginTriangle, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual ~btSoftBodyTriangleCallback ()
virtual void processTriangle (btVector3 *triangle, int partId, int triangleIndex)
void clearCache ()
SIMD_FORCE_INLINE const btVector3 & getAabbMin () const
SIMD_FORCE_INLINE const btVector3 & getAabbMax () const

Public Attributes

int m_triangleCount

Detailed Description

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.


Constructor & Destructor Documentation

btSoftBodyTriangleCallback::btSoftBodyTriangleCallback ( btDispatcher dispatcher,
btCollisionObject *  body0,
btCollisionObject *  body1,
bool  isSwapped 
)

Definition at line 52 of file btSoftBodyConcaveCollisionAlgorithm.cpp.

References clearCache().

btSoftBodyTriangleCallback::~btSoftBodyTriangleCallback ( ) [virtual]

Definition at line 67 of file btSoftBodyConcaveCollisionAlgorithm.cpp.

References clearCache().


Member Function Documentation

void btSoftBodyTriangleCallback::clearCache ( )
SIMD_FORCE_INLINE const btVector3& btSoftBodyTriangleCallback::getAabbMax ( ) const [inline]
SIMD_FORCE_INLINE const btVector3& btSoftBodyTriangleCallback::getAabbMin ( ) const [inline]
void btSoftBodyTriangleCallback::processTriangle ( btVector3 *  triangle,
int  partId,
int  triangleIndex 
) [virtual]
void btSoftBodyTriangleCallback::setTimeStepAndCounters ( btScalar  collisionMarginTriangle,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)

Member Data Documentation

Definition at line 80 of file btSoftBodyConcaveCollisionAlgorithm.h.


The documentation for this class was generated from the following files: