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

Public Attributes

btPersistentManifold * m_manifoldPtr
int m_triangleCount

Private Attributes

btVector3 m_aabbMax
btVector3 m_aabbMin
btScalar m_collisionMarginTriangle
btCollisionObject * m_convexBody
btDispatcherm_dispatcher
const btDispatcherInfom_dispatchInfoPtr
btManifoldResultm_resultOut
btCollisionObject * m_triBody

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 
)

Member Function Documentation

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

Definition at line 62 of file btConvexConcaveCollisionAlgorithm.h.

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

Definition at line 58 of file btConvexConcaveCollisionAlgorithm.h.

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

Implements btTriangleCallback.

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

Member Data Documentation

Definition at line 35 of file btConvexConcaveCollisionAlgorithm.h.

Definition at line 34 of file btConvexConcaveCollisionAlgorithm.h.

Definition at line 41 of file btConvexConcaveCollisionAlgorithm.h.

btCollisionObject* btConvexTriangleCallback::m_convexBody [private]

Definition at line 31 of file btConvexConcaveCollisionAlgorithm.h.

Definition at line 39 of file btConvexConcaveCollisionAlgorithm.h.

Definition at line 40 of file btConvexConcaveCollisionAlgorithm.h.

Definition at line 46 of file btConvexConcaveCollisionAlgorithm.h.

Definition at line 38 of file btConvexConcaveCollisionAlgorithm.h.

Definition at line 44 of file btConvexConcaveCollisionAlgorithm.h.

btCollisionObject* btConvexTriangleCallback::m_triBody [private]

Definition at line 32 of file btConvexConcaveCollisionAlgorithm.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