Blender V2.61 - r43446
|
RayResultCallback is used to report new raycast results. More...
#include <btCollisionWorld.h>
Public Member Functions | |
virtual | ~RayResultCallback () |
bool | hasHit () const |
RayResultCallback () | |
virtual bool | needsCollision (btBroadphaseProxy *proxy0) const |
virtual btScalar | addSingleResult (LocalRayResult &rayResult, bool normalInWorldSpace)=0 |
Public Attributes | |
btScalar | m_closestHitFraction |
btCollisionObject * | m_collisionObject |
short int | m_collisionFilterGroup |
short int | m_collisionFilterMask |
unsigned int | m_flags |
RayResultCallback is used to report new raycast results.
Definition at line 195 of file btCollisionWorld.h.
virtual btCollisionWorld::RayResultCallback::~RayResultCallback | ( | ) | [inline, virtual] |
Definition at line 204 of file btCollisionWorld.h.
btCollisionWorld::RayResultCallback::RayResultCallback | ( | ) | [inline] |
Definition at line 212 of file btCollisionWorld.h.
virtual btScalar btCollisionWorld::RayResultCallback::addSingleResult | ( | LocalRayResult & | rayResult, |
bool | normalInWorldSpace | ||
) | [pure virtual] |
bool btCollisionWorld::RayResultCallback::hasHit | ( | ) | const [inline] |
Definition at line 207 of file btCollisionWorld.h.
References m_collisionObject.
Referenced by btDefaultVehicleRaycaster::castRay(), CcdPhysicsEnvironment::processFhSprings(), and CcdPhysicsEnvironment::rayTest().
virtual bool btCollisionWorld::RayResultCallback::needsCollision | ( | btBroadphaseProxy * | proxy0 | ) | const [inline, virtual] |
Reimplemented in ClosestRayResultCallbackNotMe, and FilterClosestRayResultCallback.
Definition at line 222 of file btCollisionWorld.h.
References m_collisionFilterGroup, and m_collisionFilterMask.
Referenced by btSoftSingleRayCallback::process(), and btSingleRayCallback::process().
Definition at line 197 of file btCollisionWorld.h.
Referenced by btCollisionWorld::ClosestRayResultCallback::addSingleResult(), btCollisionWorld::AllHitsRayResultCallback::addSingleResult(), btDefaultVehicleRaycaster::castRay(), btSoftSingleRayCallback::process(), btSingleRayCallback::process(), CcdPhysicsEnvironment::processFhSprings(), btSoftRigidDynamicsWorld::rayTestSingle(), and btCollisionWorld::rayTestSingle().
Definition at line 199 of file btCollisionWorld.h.
Referenced by needsCollision(), and FilterClosestRayResultCallback::needsCollision().
Definition at line 200 of file btCollisionWorld.h.
Referenced by needsCollision(), FilterClosestRayResultCallback::needsCollision(), and CcdPhysicsEnvironment::rayTest().
btCollisionObject* btCollisionWorld::RayResultCallback::m_collisionObject |
Definition at line 198 of file btCollisionWorld.h.
Referenced by btCollisionWorld::ClosestRayResultCallback::addSingleResult(), btCollisionWorld::AllHitsRayResultCallback::addSingleResult(), btDefaultVehicleRaycaster::castRay(), hasHit(), CcdPhysicsEnvironment::processFhSprings(), and CcdPhysicsEnvironment::rayTest().
unsigned int btCollisionWorld::RayResultCallback::m_flags |
Definition at line 202 of file btCollisionWorld.h.
Referenced by btCollisionWorld::rayTestSingle().