Public Member Functions | Public Attributes | Private 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 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 ~btSoftBodyTriangleCallback ()

Public Attributes

int m_triangleCount

Private Attributes

btVector3 m_aabbMax
btVector3 m_aabbMin
btScalar m_collisionMarginTriangle
btDispatcherm_dispatcher
const btDispatcherInfom_dispatchInfoPtr
btManifoldResultm_resultOut
btHashMap< btHashKey
< btTriIndex >, btTriIndex
m_shapeCache
btSoftBodym_softBody
btCollisionObject * m_triBody

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 
)

Member Function Documentation

SIMD_FORCE_INLINE const btVector3& btSoftBodyTriangleCallback::getAabbMax ( ) const [inline]

Definition at line 98 of file btSoftBodyConcaveCollisionAlgorithm.h.

SIMD_FORCE_INLINE const btVector3& btSoftBodyTriangleCallback::getAabbMin ( ) const [inline]

Definition at line 94 of file btSoftBodyConcaveCollisionAlgorithm.h.

virtual void btSoftBodyTriangleCallback::processTriangle ( btVector3 *  triangle,
int  partId,
int  triangleIndex 
) [virtual]

Implements btTriangleCallback.

void btSoftBodyTriangleCallback::setTimeStepAndCounters ( btScalar  collisionMarginTriangle,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)

Member Data Documentation

Definition at line 69 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 68 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 75 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 73 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 74 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 71 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 77 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 65 of file btSoftBodyConcaveCollisionAlgorithm.h.

Definition at line 80 of file btSoftBodyConcaveCollisionAlgorithm.h.

btCollisionObject* btSoftBodyTriangleCallback::m_triBody [private]

Definition at line 66 of file btSoftBodyConcaveCollisionAlgorithm.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32