VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
DtAllHitsRayResultCallback Struct Reference

Extended version of bullet's RayResultCallback which records all the hits along the ray instead of only the closest one.

Inheritance diagram for DtAllHitsRayResultCallback:
Inheritance graph
[legend]

Public Member Functions

 DtAllHitsRayResultCallback (DtIntersectionRecord::DtIntersectionType irtFlag, short int filterMask)
 
virtual btScalar addSingleResult (btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace)
 
- Public Member Functions inherited from DtBulletRayResultCallback
 DtBulletRayResultCallback (DtIntersectionRecord::DtIntersectionType irtFlag, short int filterMask)
 
virtual bool needsCollision (btBroadphaseProxy *proxy0) const override
 
bool dataAvailable () const
 

Public Attributes

std::vector< RayResultRecordmyRecords
 

Additional Inherited Members

- Protected Attributes inherited from DtBulletRayResultCallback
const
DtIntersectionRecord::DtIntersectionType 
myIrtFlag
 
bool myDataAvailable
 

Constructor & Destructor Documentation

DtAllHitsRayResultCallback::DtAllHitsRayResultCallback ( DtIntersectionRecord::DtIntersectionType  irtFlag,
short int  filterMask 
)

Member Function Documentation

virtual btScalar DtAllHitsRayResultCallback::addSingleResult ( btCollisionWorld::LocalRayResult &  rayResult,
bool  normalInWorldSpace 
)
virtual

Member Data Documentation

std::vector<RayResultRecord> DtAllHitsRayResultCallback::myRecords

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)