Bullet Collision Detection & Physics Library: btCollisionWorld::ContactResultCallback Struct Reference

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
short int | m_collisionFilterGroup
short int | m_collisionFilterMask

## Detailed Description

ContactResultCallback is used to report contact points.

Definition at line 411 of file btCollisionWorld.h.

## Constructor & Destructor Documentation

## § ContactResultCallback()

btCollisionWorld::ContactResultCallback::ContactResultCallback | ( |  | ) |
| inline

Definition at line 416 of file btCollisionWorld.h.

## § ~ContactResultCallback()

virtual btCollisionWorld::ContactResultCallback::~ContactResultCallback | ( |  | ) |
| inlinevirtual

Definition at line 422 of file btCollisionWorld.h.

## Member Function Documentation

## § addSingleResult()

virtual btScalar btCollisionWorld::ContactResultCallback::addSingleResult | ( | btManifoldPoint & | cp,
|  | const btCollisionObjectWrapper * | colObj0Wrap,
|  | int | partId0,
|  | int | index0,
|  | const btCollisionObjectWrapper * | colObj1Wrap,
|  | int | partId1,
|  | int | index1
| ) |  |
| pure virtual

## § needsCollision()

virtual bool btCollisionWorld::ContactResultCallback::needsCollision | ( | btBroadphaseProxy * | proxy0 | ) | const
| inlinevirtual

Definition at line 426 of file btCollisionWorld.h.

## Member Data Documentation

## § m_collisionFilterGroup

short int btCollisionWorld::ContactResultCallback::m_collisionFilterGroup

Definition at line 413 of file btCollisionWorld.h.

## § m_collisionFilterMask

short int btCollisionWorld::ContactResultCallback::m_collisionFilterMask

Definition at line 414 of file btCollisionWorld.h.

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

- btCollisionWorld.h