Blender V2.61 - r43446
|
#include <btTriangleCallback.h>
Public Member Functions | |
virtual | ~btTriangleCallback () |
virtual void | processTriangle (btVector3 *triangle, int partId, int triangleIndex)=0 |
The btTriangleCallback provides a callback for each overlapping triangle when calling processAllTriangles. This callback is called by processAllTriangles for all btConcaveShape derived class, such as btBvhTriangleMeshShape, btStaticPlaneShape and btHeightfieldTerrainShape.
Definition at line 24 of file btTriangleCallback.h.
btTriangleCallback::~btTriangleCallback | ( | ) | [virtual] |
Definition at line 18 of file btTriangleCallback.cpp.
virtual void btTriangleCallback::processTriangle | ( | btVector3 * | triangle, |
int | partId, | ||
int | triangleIndex | ||
) | [pure virtual] |
Implemented in DebugDrawcallback, btConvexTriangleCallback, btConnectivityProcessor, btScaledTriangleCallback, btTriangleBuffer, SupportVertexCallback, btGImpactTriangleCallback, btTriangleRaycastCallback, btTriangleConvexcastCallback, and btSoftBodyTriangleCallback.
Referenced by btGImpactMeshShapePart::processAllTriangles(), btHeightfieldTerrainShape::processAllTriangles(), and btScaledTriangleCallback::processTriangle().