btTriangleRaycastCallback Class Reference

#include <btRaycastCallback.h>

Inheritance diagram for btTriangleRaycastCallback:
Inheritance graph
[legend]

List of all members.

Public Types

enum  EFlags { kF_None = 0, kF_FilterBackfaces = 1 << 0, kF_KeepUnflippedNormal = 1 << 1, kF_Terminator = 0xFFFFFFFF }

Public Member Functions

 btTriangleRaycastCallback (const btVector3 &from, const btVector3 &to, unsigned int flags=0)
virtual void processTriangle (btVector3 *triangle, int partId, int triangleIndex)
virtual btScalar reportHit (const btVector3 &hitNormalLocal, btScalar hitFraction, int partId, int triangleIndex)=0

Public Attributes

unsigned int m_flags
btVector3 m_from
btScalar m_hitFraction
btVector3 m_to

Detailed Description

Definition at line 24 of file btRaycastCallback.h.


Member Enumeration Documentation

Enumerator:
kF_None 
kF_FilterBackfaces 
kF_KeepUnflippedNormal 
kF_Terminator 

Definition at line 33 of file btRaycastCallback.h.


Constructor & Destructor Documentation

btTriangleRaycastCallback::btTriangleRaycastCallback ( const btVector3 &  from,
const btVector3 &  to,
unsigned int  flags = 0 
)

Member Function Documentation

virtual void btTriangleRaycastCallback::processTriangle ( btVector3 *  triangle,
int  partId,
int  triangleIndex 
) [virtual]

Implements btTriangleCallback.

virtual btScalar btTriangleRaycastCallback::reportHit ( const btVector3 &  hitNormalLocal,
btScalar  hitFraction,
int  partId,
int  triangleIndex 
) [pure virtual]

Member Data Documentation

Definition at line 41 of file btRaycastCallback.h.

Definition at line 29 of file btRaycastCallback.h.

Definition at line 43 of file btRaycastCallback.h.

Definition at line 30 of file btRaycastCallback.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Fri Jan 11 10:11:09 2013