Bullet Collision Detection & Physics Library
btCollisionDispatcherMt.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_COLLISION_DISPATCHER_MT_H
17#define BT_COLLISION_DISPATCHER_MT_H
18
21
23{
24public:
25 btCollisionDispatcherMt(btCollisionConfiguration* config, int grainSize = 40);
26
28 virtual void releaseManifold(btPersistentManifold* manifold) BT_OVERRIDE;
29
30 virtual void dispatchAllCollisionPairs(btOverlappingPairCache* pairCache, const btDispatcherInfo& info, btDispatcher* dispatcher) BT_OVERRIDE;
31
32protected:
37};
38
39#endif //BT_COLLISION_DISPATCHER_MT_H
#define BT_OVERRIDE
Definition: btThreads.h:26
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
btCollisionConfiguration allows to configure Bullet collision detection stack allocator size,...
btAlignedObjectArray< btAlignedObjectArray< btPersistentManifold * > > m_batchReleasePtr
virtual btPersistentManifold * getNewManifold(const btCollisionObject *body0, const btCollisionObject *body1) BT_OVERRIDE
btAlignedObjectArray< btAlignedObjectArray< btPersistentManifold * > > m_batchManifoldsPtr
virtual void dispatchAllCollisionPairs(btOverlappingPairCache *pairCache, const btDispatcherInfo &info, btDispatcher *dispatcher) BT_OVERRIDE
btCollisionDispatcherMt(btCollisionConfiguration *config, int grainSize=40)
virtual void releaseManifold(btPersistentManifold *manifold) BT_OVERRIDE
btCollisionDispatcher supports algorithms that handle ConvexConvex and ConvexConcave collision pairs.
btCollisionObject can be used to manage collision detection objects.
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
Definition: btDispatcher.h:77
The btOverlappingPairCache provides an interface for overlapping pair management (add,...
btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping...