Back to index

supertuxkart  0.5+dfsg1
btOverlappingPairCallback.h
Go to the documentation of this file.
00001 
00002 /*
00003 Bullet Continuous Collision Detection and Physics Library
00004 Copyright (c) 2003-2006 Erwin Coumans  http://continuousphysics.com/Bullet/
00005 
00006 This software is provided 'as-is', without any express or implied warranty.
00007 In no event will the authors be held liable for any damages arising from the use of this software.
00008 Permission is granted to anyone to use this software for any purpose, 
00009 including commercial applications, and to alter it and redistribute it freely, 
00010 subject to the following restrictions:
00011 
00012 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
00013 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
00014 3. This notice may not be removed or altered from any source distribution.
00015 */
00016 
00017 #ifndef OVERLAPPING_PAIR_CALLBACK_H
00018 #define OVERLAPPING_PAIR_CALLBACK_H
00019 
00020 class btDispatcher;
00021 struct  btBroadphasePair;
00022 
00024 class btOverlappingPairCallback
00025 {
00026 public:
00027        virtual ~btOverlappingPairCallback()
00028        {
00029 
00030        }
00031        
00032        virtual btBroadphasePair*   addOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1) = 0;
00033 
00034        virtual void* removeOverlappingPair(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1,btDispatcher* dispatcher) = 0;
00035 
00036        virtual void  removeOverlappingPairsContainingProxy(btBroadphaseProxy* proxy0,btDispatcher* dispatcher) = 0;
00037 
00038 };
00039 
00040 #endif //OVERLAPPING_PAIR_CALLBACK_H