Bullet Collision Detection & Physics Library: btSoftBodyRigidBodyCollisionConfiguration.h Source File

Bullet Collision Detection & Physics Library

btSoftBodyRigidBodyCollisionConfiguration.h
Go to the documentation of this file.
1/*
2Bullet Continuous Collision Detection and Physics Library
3Copyright (c) 2003-2006 Erwin Coumans https://bulletphysics.org
4
5This software is provided 'as-is', without any express or implied warranty.
6In no event will the authors be held liable for any damages arising from the use of this software.
7Permission is granted to anyone to use this software for any purpose,
8including commercial applications, and to alter it and redistribute it freely,
9subject to the following restrictions:
10
111. 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.
122. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
133. This notice may not be removed or altered from any source distribution.
14*/
15
16#ifndef BT_SOFTBODY_RIGIDBODY_COLLISION_CONFIGURATION
17#define BT_SOFTBODY_RIGIDBODY_COLLISION_CONFIGURATION
18
19#include "BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h"
20
21class btVoronoiSimplexSolver;
22class btGjkEpaPenetrationDepthSolver;
23
25 class btSoftBodyRigidBodyCollisionConfiguration : public btDefaultCollisionConfiguration
26{
27 //default CreationFunctions, filling the m_doubleDispatch table
28 btCollisionAlgorithmCreateFunc* m_softSoftCreateFunc;
29 btCollisionAlgorithmCreateFunc* m_softRigidConvexCreateFunc;
30 btCollisionAlgorithmCreateFunc* m_swappedSoftRigidConvexCreateFunc;
31 btCollisionAlgorithmCreateFunc* m_softRigidConcaveCreateFunc;
32 btCollisionAlgorithmCreateFunc* m_swappedSoftRigidConcaveCreateFunc;
33
34public:
35 btSoftBodyRigidBodyCollisionConfiguration(const btDefaultCollisionConstructionInfo& constructionInfo = btDefaultCollisionConstructionInfo());
36
37 virtual ~btSoftBodyRigidBodyCollisionConfiguration();
38
40 virtual btCollisionAlgorithmCreateFunc* getCollisionAlgorithmCreateFunc(int proxyType0, int proxyType1);
41};
42
43#endif //BT_SOFTBODY_RIGIDBODY_COLLISION_CONFIGURATION
btDefaultCollisionConfiguration.h
btDefaultCollisionConfiguration::btDefaultCollisionConfiguration
btDefaultCollisionConfiguration(const btDefaultCollisionConstructionInfo &constructionInfo=btDefaultCollisionConstructionInfo())
Definition btDefaultCollisionConfiguration.cpp:37
btGjkEpaPenetrationDepthSolver
EpaPenetrationDepthSolver uses the Expanding Polytope Algorithm to calculate the penetration depth be...
Definition btGjkEpaPenetrationDepthSolver.h:25
btSoftBodyRigidBodyCollisionConfiguration::m_swappedSoftRigidConvexCreateFunc
btCollisionAlgorithmCreateFunc * m_swappedSoftRigidConvexCreateFunc
Definition btSoftBodyRigidBodyCollisionConfiguration.h:30
btSoftBodyRigidBodyCollisionConfiguration::~btSoftBodyRigidBodyCollisionConfiguration
virtual ~btSoftBodyRigidBodyCollisionConfiguration()
Definition btSoftBodyRigidBodyCollisionConfiguration.cpp:73
btSoftBodyRigidBodyCollisionConfiguration::getCollisionAlgorithmCreateFunc
virtual btCollisionAlgorithmCreateFunc * getCollisionAlgorithmCreateFunc(int proxyType0, int proxyType1)
creation of soft-soft and soft-rigid, and otherwise fallback to base class implementation
Definition btSoftBodyRigidBodyCollisionConfiguration.cpp:94
btSoftBodyRigidBodyCollisionConfiguration::m_softRigidConcaveCreateFunc
btCollisionAlgorithmCreateFunc * m_softRigidConcaveCreateFunc
Definition btSoftBodyRigidBodyCollisionConfiguration.h:31
btSoftBodyRigidBodyCollisionConfiguration::m_softSoftCreateFunc
btCollisionAlgorithmCreateFunc * m_softSoftCreateFunc
Definition btSoftBodyRigidBodyCollisionConfiguration.h:28
btSoftBodyRigidBodyCollisionConfiguration::m_swappedSoftRigidConcaveCreateFunc
btCollisionAlgorithmCreateFunc * m_swappedSoftRigidConcaveCreateFunc
Definition btSoftBodyRigidBodyCollisionConfiguration.h:32
btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration
btSoftBodyRigidBodyCollisionConfiguration(const btDefaultCollisionConstructionInfo &constructionInfo=btDefaultCollisionConstructionInfo())
Definition btSoftBodyRigidBodyCollisionConfiguration.cpp:25
btSoftBodyRigidBodyCollisionConfiguration::m_softRigidConvexCreateFunc
btCollisionAlgorithmCreateFunc * m_softRigidConvexCreateFunc
Definition btSoftBodyRigidBodyCollisionConfiguration.h:29
btVoronoiSimplexSolver
btVoronoiSimplexSolver is an implementation of the closest point distance algorithm from a 1-4 points...
Definition btVoronoiSimplexSolver.h:99
btCollisionAlgorithmCreateFunc
Used by the btCollisionDispatcher to register and create instances for btCollisionAlgorithm.
Definition btCollisionCreateFunc.h:27
btDefaultCollisionConstructionInfo
Definition btDefaultCollisionConfiguration.h:24