Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btCollisionWorld::ContactResultCallback Struct Referenceabstract

ContactResultCallback is used to report contact points. More...

#include <btCollisionWorld.h>

Public Member Functions

 ContactResultCallback ()
virtual ~ContactResultCallback ()
virtual bool needsCollision (btBroadphaseProxy *proxy0) const
virtual btScalar addSingleResult (btManifoldPoint &cp, const btCollisionObjectWrapper *colObj0Wrap, int partId0, int index0, const btCollisionObjectWrapper *colObj1Wrap, int partId1, int index1)=0

Public Attributes

int m_collisionFilterGroup
int m_collisionFilterMask
btScalar m_closestDistanceThreshold

Detailed Description

ContactResultCallback is used to report contact points.

Definition at line 414 of file btCollisionWorld.h.

Constructor & Destructor Documentation

btCollisionWorld::ContactResultCallback::ContactResultCallback ( )

Definition at line 420 of file btCollisionWorld.h.

virtual btCollisionWorld::ContactResultCallback::~ContactResultCallback ( )

Definition at line 427 of file btCollisionWorld.h.

Member Function Documentation

virtual btScalar btCollisionWorld::ContactResultCallback::addSingleResult ( btManifoldPoint cp,
const btCollisionObjectWrapper colObj0Wrap,
int  partId0,
int  index0,
const btCollisionObjectWrapper colObj1Wrap,
int  partId1,
int  index1 
pure virtual
virtual bool btCollisionWorld::ContactResultCallback::needsCollision ( btBroadphaseProxy proxy0) const

Definition at line 431 of file btCollisionWorld.h.

Member Data Documentation

btScalar btCollisionWorld::ContactResultCallback::m_closestDistanceThreshold

Definition at line 418 of file btCollisionWorld.h.

int btCollisionWorld::ContactResultCallback::m_collisionFilterGroup

Definition at line 416 of file btCollisionWorld.h.

int btCollisionWorld::ContactResultCallback::m_collisionFilterMask

Definition at line 417 of file btCollisionWorld.h.

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