Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btCollisionWorld::ConvexResultCallback Struct Referenceabstract

RayResultCallback is used to report new raycast results. More...

#include <btCollisionWorld.h>

Inheritance diagram for btCollisionWorld::ConvexResultCallback:
Inheritance graph

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
int m_collisionFilterGroup
int m_collisionFilterMask

Detailed Description

RayResultCallback is used to report new raycast results.

Definition at line 343 of file btCollisionWorld.h.

Constructor & Destructor Documentation

btCollisionWorld::ConvexResultCallback::ConvexResultCallback ( )

Definition at line 349 of file btCollisionWorld.h.

virtual btCollisionWorld::ConvexResultCallback::~ConvexResultCallback ( )

Definition at line 356 of file btCollisionWorld.h.

Member Function Documentation

virtual btScalar btCollisionWorld::ConvexResultCallback::addSingleResult ( LocalConvexResult convexResult,
bool  normalInWorldSpace 
pure virtual
bool btCollisionWorld::ConvexResultCallback::hasHit ( ) const

Definition at line 360 of file btCollisionWorld.h.

virtual bool btCollisionWorld::ConvexResultCallback::needsCollision ( btBroadphaseProxy proxy0) const

Reimplemented in btClosestNotMeConvexResultCallback.

Definition at line 367 of file btCollisionWorld.h.

Member Data Documentation

btScalar btCollisionWorld::ConvexResultCallback::m_closestHitFraction

Definition at line 345 of file btCollisionWorld.h.

int btCollisionWorld::ConvexResultCallback::m_collisionFilterGroup

Definition at line 346 of file btCollisionWorld.h.

int btCollisionWorld::ConvexResultCallback::m_collisionFilterMask

Definition at line 347 of file btCollisionWorld.h.

The documentation for this struct was generated from the following file: