btHfFluidRigidCollisionConfiguration.h
Go to the documentation of this file.
00001 /*
00002  Bullet Continuous Collision Detection and Physics Library
00003  Copyright (c) 2003-2009 Erwin Coumans  http://bulletphysics.com
00004 
00005  This software is provided 'as-is', without any express or implied warranty.
00006  In no event will the authors be held liable for any damages arising from the use of this software.
00007  Permission is granted to anyone to use this software for any purpose,
00008  including commercial applications, and to alter it and redistribute it freely,
00009  subject to the following restrictions:
00010 
00011  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.
00012  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
00013  3. This notice may not be removed or altered from any source distribution.
00014 
00015  Experimental Buoyancy fluid demo written by John McCutchan
00016  */
00017 
00018 #ifndef BT_HFFLUID_RIGID_COLLISION_CONFIGURATION
00019 #define BT_HFFLUID_RIGID_COLLISION_CONFIGURATION
00020 
00021 #include "BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h"
00022 
00023 class btVoronoiSimplexSolver;
00024 class btGjkEpaPenetrationDepthSolver;
00025 
00028 class btHfFluidRigidCollisionConfiguration : public btDefaultCollisionConfiguration
00029 {
00030   //default CreationFunctions, filling the m_doubleDispatch table
00031   btCollisionAlgorithmCreateFunc* m_hfFluidRigidConvexCreateFunc;
00032   btCollisionAlgorithmCreateFunc* m_swappedHfFluidRigidConvexCreateFunc;
00033   btCollisionAlgorithmCreateFunc* m_hfFluidBuoyantShapeCollisionCreateFunc;
00034   btCollisionAlgorithmCreateFunc* m_BuoyantShapeCompoundCreateFunc;
00035   btCollisionAlgorithmCreateFunc* m_swappedBuoyantShapeCompoundCreateFunc;
00036   btCollisionAlgorithmCreateFunc* m_BuoyantShapeConcaveCreateFunc;
00037   btCollisionAlgorithmCreateFunc* m_swappedBuoyantShapeConcaveCreateFunc;
00038   btCollisionAlgorithmCreateFunc* m_BuoyantShapeConvexCreateFunc;
00039   btCollisionAlgorithmCreateFunc* m_swappedBuoyantShapeConvexCreateFunc;
00040 
00041 public:
00042 
00043   btHfFluidRigidCollisionConfiguration(const btDefaultCollisionConstructionInfo& constructionInfo =
00044       btDefaultCollisionConstructionInfo());
00045 
00046   virtual ~btHfFluidRigidCollisionConfiguration();
00047 
00049   virtual btCollisionAlgorithmCreateFunc* getCollisionAlgorithmCreateFunc(int proxyType0, int proxyType1);
00050 
00051 };
00052 
00053 #endif //BT_HFFLUID_RIGID_COLLISION_CONFIGURATION


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07