Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Private Attributes
btCollisionPairCallback Class Reference

interface for iterating all overlapping collision pairs, no matter how those pairs are stored (array, set, map etc) this is useful for the collision dispatcher. More...

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

List of all members.

Public Member Functions

 btCollisionPairCallback (btDispatcherInfo &dispatchInfo, btCollisionDispatcher *dispatcher)
btCollisionPairCallbackoperator= (btCollisionPairCallback &other)
virtual ~btCollisionPairCallback ()
virtual bool processOverlap (btBroadphasePair &pair)

Private Attributes

btDispatcherInfom_dispatchInfo
btCollisionDispatcherm_dispatcher

Detailed Description

interface for iterating all overlapping collision pairs, no matter how those pairs are stored (array, set, map etc) this is useful for the collision dispatcher.

Definition at line 192 of file btCollisionDispatcher.cpp.


Constructor & Destructor Documentation

Definition at line 199 of file btCollisionDispatcher.cpp.

       :m_dispatchInfo(dispatchInfo),
       m_dispatcher(dispatcher)
       {
       }

Definition at line 212 of file btCollisionDispatcher.cpp.

{}

Member Function Documentation

btCollisionPairCallback& btCollisionPairCallback::operator= ( btCollisionPairCallback other) [inline]

Definition at line 205 of file btCollisionDispatcher.cpp.

       {
              m_dispatchInfo = other.m_dispatchInfo;
              m_dispatcher = other.m_dispatcher;
              return *this;
       }
virtual bool btCollisionPairCallback::processOverlap ( btBroadphasePair &  pair) [inline, virtual]

Implements btOverlapCallback.

Definition at line 215 of file btCollisionDispatcher.cpp.

       {
              (*m_dispatcher->getNearCallback())(pair,*m_dispatcher,m_dispatchInfo);

              return false;
       }

Here is the call graph for this function:


Member Data Documentation

Definition at line 195 of file btCollisionDispatcher.cpp.

Definition at line 194 of file btCollisionDispatcher.cpp.


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