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
[legend]

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
 

Detailed Description

RayResultCallback is used to report new raycast results.

Definition at line 340 of file btCollisionWorld.h.

Constructor & Destructor Documentation

btCollisionWorld::ConvexResultCallback::ConvexResultCallback ( )
inline

Definition at line 346 of file btCollisionWorld.h.

virtual btCollisionWorld::ConvexResultCallback::~ConvexResultCallback ( )
inlinevirtual

Definition at line 353 of file btCollisionWorld.h.

Member Function Documentation

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

Definition at line 357 of file btCollisionWorld.h.

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

Reimplemented in btClosestNotMeConvexResultCallback.

Definition at line 364 of file btCollisionWorld.h.

Member Data Documentation

btScalar btCollisionWorld::ConvexResultCallback::m_closestHitFraction

Definition at line 342 of file btCollisionWorld.h.

short int btCollisionWorld::ConvexResultCallback::m_collisionFilterGroup

Definition at line 343 of file btCollisionWorld.h.

short int btCollisionWorld::ConvexResultCallback::m_collisionFilterMask

Definition at line 344 of file btCollisionWorld.h.


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