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

btConvexTriangleCallback Class Reference

For each triangle in the concave mesh that overlaps with the AABB of a convex (m_convexProxy), processTriangle is called. More...

#include <btConvexConcaveCollisionAlgorithm.h>

Inheritance diagram for btConvexTriangleCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btConvexTriangleCallback (btDispatcher *dispatcher, btCollisionObject *body0, btCollisionObject *body1, bool isSwapped)
void setTimeStepAndCounters (btScalar collisionMarginTriangle, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual ~btConvexTriangleCallback ()
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
btPersistentManifold * m_manifoldPtr

Detailed Description

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.


Constructor & Destructor Documentation

btConvexTriangleCallback::btConvexTriangleCallback ( btDispatcher dispatcher,
btCollisionObject *  body0,
btCollisionObject *  body1,
bool  isSwapped 
)
btConvexTriangleCallback::~btConvexTriangleCallback ( ) [virtual]

Member Function Documentation

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

Member Data Documentation

Definition at line 44 of file btConvexConcaveCollisionAlgorithm.h.


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