Bullet Collision Detection & Physics Library
btDefaultCollisionConfiguration.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_DEFAULT_COLLISION_CONFIGURATION
17#define BT_DEFAULT_COLLISION_CONFIGURATION
18
22
24{
31
39 {
40 }
41};
42
47{
48protected:
50
53
56
57 //default penetration depth solver
59
60 //default CreationFunctions, filling the m_doubleDispatch table
66
72
78
79public:
81
83
86 {
88 }
89
91 {
93 }
94
95 virtual btCollisionAlgorithmCreateFunc* getCollisionAlgorithmCreateFunc(int proxyType0, int proxyType1);
96
97 virtual btCollisionAlgorithmCreateFunc* getClosestPointsAlgorithmCreateFunc(int proxyType0, int proxyType1);
98
106 void setConvexConvexMultipointIterations(int numPerturbationIterations = 3, int minimumPointsPerturbationThreshold = 3);
107
108 void setPlaneConvexMultipointIterations(int numPerturbationIterations = 3, int minimumPointsPerturbationThreshold = 3);
109};
110
111#endif //BT_DEFAULT_COLLISION_CONFIGURATION
btCollisionConfiguration allows to configure Bullet collision detection stack allocator size,...
ConvexPenetrationDepthSolver provides an interface for penetration depth calculation.
btCollisionConfiguration allows to configure Bullet collision detection stack allocator,...
btCollisionAlgorithmCreateFunc * m_boxSphereCF
btCollisionAlgorithmCreateFunc * m_compoundCreateFunc
btCollisionAlgorithmCreateFunc * m_triangleSphereCF
void setConvexConvexMultipointIterations(int numPerturbationIterations=3, int minimumPointsPerturbationThreshold=3)
Use this method to allow to generate multiple contact points between at once, between two objects usi...
btCollisionAlgorithmCreateFunc * m_boxBoxCF
btCollisionAlgorithmCreateFunc * m_sphereTriangleCF
virtual btCollisionAlgorithmCreateFunc * getClosestPointsAlgorithmCreateFunc(int proxyType0, int proxyType1)
virtual btPoolAllocator * getPersistentManifoldPool()
memory pools
btCollisionAlgorithmCreateFunc * m_convexConcaveCreateFunc
btCollisionAlgorithmCreateFunc * m_planeConvexCF
void setPlaneConvexMultipointIterations(int numPerturbationIterations=3, int minimumPointsPerturbationThreshold=3)
btCollisionAlgorithmCreateFunc * m_compoundCompoundCreateFunc
btConvexPenetrationDepthSolver * m_pdSolver
btCollisionAlgorithmCreateFunc * m_convexPlaneCF
btCollisionAlgorithmCreateFunc * m_sphereSphereCF
virtual btCollisionAlgorithmCreateFunc * getCollisionAlgorithmCreateFunc(int proxyType0, int proxyType1)
btDefaultCollisionConfiguration(const btDefaultCollisionConstructionInfo &constructionInfo=btDefaultCollisionConstructionInfo())
btCollisionAlgorithmCreateFunc * m_swappedConvexConcaveCreateFunc
btCollisionAlgorithmCreateFunc * m_emptyCreateFunc
btCollisionAlgorithmCreateFunc * m_swappedCompoundCreateFunc
btCollisionAlgorithmCreateFunc * m_convexConvexCreateFunc
virtual btPoolAllocator * getCollisionAlgorithmPool()
btCollisionAlgorithmCreateFunc * m_sphereBoxCF
The btPoolAllocator class allows to efficiently allocate a large pool of objects, instead of dynamica...
btVoronoiSimplexSolver is an implementation of the closest point distance algorithm from a 1-4 points...
Used by the btCollisionDispatcher to register and create instances for btCollisionAlgorithm.