Blender V2.61 - r43446
|
RayResultCallback is used to report new raycast results. More...
#include <btCollisionWorld.h>
Public Member Functions | |
ConvexResultCallback () | |
virtual | ~ConvexResultCallback () |
bool | hasHit () const |
virtual bool | needsCollision (btBroadphaseProxy *proxy0) const |
virtual btScalar | addSingleResult (LocalConvexResult &convexResult, bool normalInWorldSpace)=0 |
Public Attributes | |
btScalar | m_closestHitFraction |
short int | m_collisionFilterGroup |
short int | m_collisionFilterMask |
RayResultCallback is used to report new raycast results.
Definition at line 331 of file btCollisionWorld.h.
btCollisionWorld::ConvexResultCallback::ConvexResultCallback | ( | ) | [inline] |
Definition at line 337 of file btCollisionWorld.h.
virtual btCollisionWorld::ConvexResultCallback::~ConvexResultCallback | ( | ) | [inline, virtual] |
Definition at line 344 of file btCollisionWorld.h.
virtual btScalar btCollisionWorld::ConvexResultCallback::addSingleResult | ( | LocalConvexResult & | convexResult, |
bool | normalInWorldSpace | ||
) | [pure virtual] |
Implemented in btCollisionWorld::ClosestConvexResultCallback, btKinematicClosestNotMeConvexResultCallback, and btClosestNotMeConvexResultCallback.
Referenced by btCollisionWorld::objectQuerySingle().
bool btCollisionWorld::ConvexResultCallback::hasHit | ( | ) | const [inline] |
Definition at line 348 of file btCollisionWorld.h.
References m_closestHitFraction.
Referenced by btKinematicCharacterController::stepDown(), btKinematicCharacterController::stepForwardAndStrafe(), and btKinematicCharacterController::stepUp().
virtual bool btCollisionWorld::ConvexResultCallback::needsCollision | ( | btBroadphaseProxy * | proxy0 | ) | const [inline, virtual] |
Reimplemented in btClosestNotMeConvexResultCallback.
Definition at line 355 of file btCollisionWorld.h.
References m_collisionFilterGroup, and m_collisionFilterMask.
Referenced by btCollisionWorld::convexSweepTest(), and btSingleSweepCallback::process().
Definition at line 333 of file btCollisionWorld.h.
Referenced by btCollisionWorld::ClosestConvexResultCallback::addSingleResult(), hasHit(), btCollisionWorld::objectQuerySingle(), btSingleSweepCallback::process(), btKinematicCharacterController::stepDown(), btKinematicCharacterController::stepForwardAndStrafe(), and btKinematicCharacterController::stepUp().
Definition at line 334 of file btCollisionWorld.h.
Referenced by btDiscreteDynamicsWorld::integrateTransforms(), needsCollision(), btKinematicCharacterController::stepDown(), btKinematicCharacterController::stepForwardAndStrafe(), and btKinematicCharacterController::stepUp().
Definition at line 335 of file btCollisionWorld.h.
Referenced by needsCollision(), btKinematicCharacterController::stepDown(), btKinematicCharacterController::stepForwardAndStrafe(), and btKinematicCharacterController::stepUp().