Bullet Collision Detection & Physics Library
|
btCollisionConfiguration allows to configure Bullet collision detection stack allocator, pool memory allocators More...
#include <btDefaultCollisionConfiguration.h>
Public Member Functions | |
btDefaultCollisionConfiguration (const btDefaultCollisionConstructionInfo &constructionInfo=btDefaultCollisionConstructionInfo()) | |
virtual | ~btDefaultCollisionConfiguration () |
virtual btPoolAllocator * | getPersistentManifoldPool () |
memory pools More... | |
virtual btPoolAllocator * | getCollisionAlgorithmPool () |
virtual btVoronoiSimplexSolver * | getSimplexSolver () |
virtual btCollisionAlgorithmCreateFunc * | getCollisionAlgorithmCreateFunc (int proxyType0, int proxyType1) |
void | setConvexConvexMultipointIterations (int numPerturbationIterations=3, int minimumPointsPerturbationThreshold=3) |
Use this method to allow to generate multiple contact points between at once, between two objects using the generic convex-convex algorithm. More... | |
void | setPlaneConvexMultipointIterations (int numPerturbationIterations=3, int minimumPointsPerturbationThreshold=3) |
Public Member Functions inherited from btCollisionConfiguration | |
virtual | ~btCollisionConfiguration () |
btCollisionConfiguration allows to configure Bullet collision detection stack allocator, pool memory allocators
Definition at line 48 of file btDefaultCollisionConfiguration.h.
btDefaultCollisionConfiguration::btDefaultCollisionConfiguration | ( | const btDefaultCollisionConstructionInfo & | constructionInfo = btDefaultCollisionConstructionInfo() | ) |
calculate maximum element size, big enough to fit any collision algorithm in the memory pool
Definition at line 43 of file btDefaultCollisionConfiguration.cpp.
|
virtual |
Definition at line 140 of file btDefaultCollisionConfiguration.cpp.
|
virtual |
Implements btCollisionConfiguration.
Reimplemented in btSoftBodyRigidBodyCollisionConfiguration.
Definition at line 206 of file btDefaultCollisionConfiguration.cpp.
|
inlinevirtual |
Implements btCollisionConfiguration.
Definition at line 99 of file btDefaultCollisionConfiguration.h.
|
inlinevirtual |
memory pools
Implements btCollisionConfiguration.
Definition at line 94 of file btDefaultCollisionConfiguration.h.
|
inlinevirtual |
Definition at line 105 of file btDefaultCollisionConfiguration.h.
void btDefaultCollisionConfiguration::setConvexConvexMultipointIterations | ( | int | numPerturbationIterations = 3 , |
int | minimumPointsPerturbationThreshold = 3 |
||
) |
Use this method to allow to generate multiple contact points between at once, between two objects using the generic convex-convex algorithm.
By default, this feature is disabled for best performance.
numPerturbationIterations | controls the number of collision queries. Set it to zero to disable the feature. |
minimumPointsPerturbationThreshold | is the minimum number of points in the contact cache, above which the feature is disabled 3 is a good value for both params, if you want to enable the feature. This is because the default contact cache contains a maximum of 4 points, and one collision query at the unperturbed orientation is performed first. See Bullet/Demos/CollisionDemo for an example how this feature gathers multiple points. |
Definition at line 291 of file btDefaultCollisionConfiguration.cpp.
void btDefaultCollisionConfiguration::setPlaneConvexMultipointIterations | ( | int | numPerturbationIterations = 3 , |
int | minimumPointsPerturbationThreshold = 3 |
||
) |
Definition at line 298 of file btDefaultCollisionConfiguration.cpp.
|
protected |
Definition at line 80 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 78 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 60 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 72 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 71 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 69 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 68 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 84 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 75 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 61 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 57 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 65 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 56 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 53 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 83 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 64 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 77 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 76 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 81 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 74 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 70 of file btDefaultCollisionConfiguration.h.
|
protected |
Definition at line 82 of file btDefaultCollisionConfiguration.h.