Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btTriangleConvexcastCallback Class Referenceabstract

#include <btRaycastCallback.h>

Inheritance diagram for btTriangleConvexcastCallback:
Inheritance graph
Collaboration diagram for btTriangleConvexcastCallback:
Collaboration graph

Public Member Functions

 btTriangleConvexcastCallback (const btConvexShape *convexShape, const btTransform &convexShapeFrom, const btTransform &convexShapeTo, const btTransform &triangleToWorld, const btScalar triangleCollisionMargin)
virtual void processTriangle (btVector3 *triangle, int partId, int triangleIndex)
virtual btScalar reportHit (const btVector3 &hitNormalLocal, const btVector3 &hitPointLocal, btScalar hitFraction, int partId, int triangleIndex)=0
- Public Member Functions inherited from btTriangleCallback
virtual ~btTriangleCallback ()

Public Attributes

const btConvexShapem_convexShape
btTransform m_convexShapeFrom
btTransform m_convexShapeTo
btTransform m_triangleToWorld
btScalar m_hitFraction
btScalar m_triangleCollisionMargin
btScalar m_allowedPenetration

Detailed Description

Definition at line 55 of file btRaycastCallback.h.

Constructor & Destructor Documentation

btTriangleConvexcastCallback::btTriangleConvexcastCallback ( const btConvexShape convexShape,
const btTransform convexShapeFrom,
const btTransform convexShapeTo,
const btTransform triangleToWorld,
const btScalar  triangleCollisionMargin 

Definition at line 122 of file btRaycastCallback.cpp.

Member Function Documentation

void btTriangleConvexcastCallback::processTriangle ( btVector3 triangle,
int  partId,
int  triangleIndex 

Implements btTriangleCallback.

Definition at line 134 of file btRaycastCallback.cpp.

virtual btScalar btTriangleConvexcastCallback::reportHit ( const btVector3 hitNormalLocal,
const btVector3 hitPointLocal,
btScalar  hitFraction,
int  partId,
int  triangleIndex 
pure virtual

Member Data Documentation

btScalar btTriangleConvexcastCallback::m_allowedPenetration

Definition at line 64 of file btRaycastCallback.h.

const btConvexShape* btTriangleConvexcastCallback::m_convexShape

Definition at line 58 of file btRaycastCallback.h.

btTransform btTriangleConvexcastCallback::m_convexShapeFrom

Definition at line 59 of file btRaycastCallback.h.

btTransform btTriangleConvexcastCallback::m_convexShapeTo

Definition at line 60 of file btRaycastCallback.h.

btScalar btTriangleConvexcastCallback::m_hitFraction

Definition at line 62 of file btRaycastCallback.h.

btScalar btTriangleConvexcastCallback::m_triangleCollisionMargin

Definition at line 63 of file btRaycastCallback.h.

btTransform btTriangleConvexcastCallback::m_triangleToWorld

Definition at line 61 of file btRaycastCallback.h.

The documentation for this class was generated from the following files: