Blender V2.61 - r43446
|
#include <btRaycastCallback.h>
Public Member Functions | |
btTriangleConvexcastCallback (const btConvexShape *convexShape, const btTransform &convexShapeFrom, const btTransform &convexShapeTo, const btTransform &triangleToWorld, const btScalar triangleCollisionMargin) | |
virtual void | processTriangle (btVector3 *triangle, int partId, int triangleIndex) |
virtual btScalar | reportHit (const btVector3 &hitNormalLocal, const btVector3 &hitPointLocal, btScalar hitFraction, int partId, int triangleIndex)=0 |
Public Attributes | |
const btConvexShape * | m_convexShape |
btTransform | m_convexShapeFrom |
btTransform | m_convexShapeTo |
btTransform | m_triangleToWorld |
btScalar | m_hitFraction |
btScalar | m_triangleCollisionMargin |
btScalar | m_allowedPenetration |
Definition at line 53 of file btRaycastCallback.h.
btTriangleConvexcastCallback::btTriangleConvexcastCallback | ( | const btConvexShape * | convexShape, |
const btTransform & | convexShapeFrom, | ||
const btTransform & | convexShapeTo, | ||
const btTransform & | triangleToWorld, | ||
const btScalar | triangleCollisionMargin | ||
) |
Definition at line 121 of file btRaycastCallback.cpp.
References m_allowedPenetration, m_convexShape, m_convexShapeFrom, m_convexShapeTo, m_hitFraction, m_triangleCollisionMargin, and m_triangleToWorld.
void btTriangleConvexcastCallback::processTriangle | ( | btVector3 * | triangle, |
int | partId, | ||
int | triangleIndex | ||
) | [virtual] |
Implements btTriangleCallback.
Definition at line 133 of file btRaycastCallback.cpp.
References btContinuousConvexCollision::calcTimeOfImpact(), m_allowedPenetration, btConvexCast::CastResult::m_allowedPenetration, m_convexShape, m_convexShapeFrom, m_convexShapeTo, btConvexCast::CastResult::m_fraction, m_hitFraction, btConvexCast::CastResult::m_hitPoint, btConvexCast::CastResult::m_normal, m_triangleCollisionMargin, m_triangleToWorld, and reportHit().
virtual btScalar btTriangleConvexcastCallback::reportHit | ( | const btVector3 & | hitNormalLocal, |
const btVector3 & | hitPointLocal, | ||
btScalar | hitFraction, | ||
int | partId, | ||
int | triangleIndex | ||
) | [pure virtual] |
Referenced by processTriangle().
Definition at line 62 of file btRaycastCallback.h.
Referenced by btTriangleConvexcastCallback(), and processTriangle().
const btConvexShape* btTriangleConvexcastCallback::m_convexShape |
Definition at line 56 of file btRaycastCallback.h.
Referenced by btTriangleConvexcastCallback(), and processTriangle().
Definition at line 57 of file btRaycastCallback.h.
Referenced by btTriangleConvexcastCallback(), and processTriangle().
Definition at line 58 of file btRaycastCallback.h.
Referenced by btTriangleConvexcastCallback(), and processTriangle().
Definition at line 60 of file btRaycastCallback.h.
Referenced by btTriangleConvexcastCallback(), and processTriangle().
Definition at line 61 of file btRaycastCallback.h.
Referenced by btTriangleConvexcastCallback(), and processTriangle().
Definition at line 59 of file btRaycastCallback.h.
Referenced by btTriangleConvexcastCallback(), and processTriangle().