Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
MyCallback Struct Reference

#include <btCompoundFromGimpact.h>

Inheritance diagram for MyCallback:
Inheritance graph
[legend]
Collaboration diagram for MyCallback:
Collaboration graph
[legend]

Public Member Functions

 MyCallback (const btVector3 &from, const btVector3 &to, int ignorePart, int ignoreTriangleIndex)
 
virtual btScalar reportHit (const btVector3 &hitNormalLocal, btScalar hitFraction, int partId, int triangleIndex)
 
- Public Member Functions inherited from btTriangleRaycastCallback
 btTriangleRaycastCallback (const btVector3 &from, const btVector3 &to, unsigned int flags=0)
 
virtual void processTriangle (btVector3 *triangle, int partId, int triangleIndex)
 
- Public Member Functions inherited from btTriangleCallback
virtual ~btTriangleCallback ()
 

Public Attributes

int m_ignorePart
 
int m_ignoreTriangleIndex
 
- Public Attributes inherited from btTriangleRaycastCallback
btVector3 m_from
 
btVector3 m_to
 
unsigned int m_flags
 
btScalar m_hitFraction
 

Additional Inherited Members

- Public Types inherited from btTriangleRaycastCallback
enum  EFlags {
  kF_None = 0,
  kF_FilterBackfaces = 1 << 0,
  kF_KeepUnflippedNormal = 1 << 1,
  kF_UseSubSimplexConvexCastRaytest = 1 << 2,
  kF_Terminator = 0xFFFFFFFF
}
 

Detailed Description

Definition at line 8 of file btCompoundFromGimpact.h.

Constructor & Destructor Documentation

MyCallback::MyCallback ( const btVector3 from,
const btVector3 to,
int  ignorePart,
int  ignoreTriangleIndex 
)
inline

Definition at line 14 of file btCompoundFromGimpact.h.

Member Function Documentation

virtual btScalar MyCallback::reportHit ( const btVector3 hitNormalLocal,
btScalar  hitFraction,
int  partId,
int  triangleIndex 
)
inlinevirtual

Implements btTriangleRaycastCallback.

Definition at line 21 of file btCompoundFromGimpact.h.

Member Data Documentation

int MyCallback::m_ignorePart

Definition at line 10 of file btCompoundFromGimpact.h.

int MyCallback::m_ignoreTriangleIndex

Definition at line 11 of file btCompoundFromGimpact.h.


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