A collision configuration that uses the btCompoundCompoundCollisionAlgorithm and BtRWCollisionAlgorithm to handle contacts.
More...
#include <BtRWCollisionConfiguration.hpp>
Inherits btCollisionConfiguration.
A collision configuration that uses the btCompoundCompoundCollisionAlgorithm and BtRWCollisionAlgorithm to handle contacts.
◆ BtRWCollisionConfiguration()
Construct new collision configuration.
- Parameters
-
detector | [in] the RobWork ContactDetector to use. |
◆ getCollisionAlgorithmCreateFunc()
virtual btCollisionAlgorithmCreateFunc* getCollisionAlgorithmCreateFunc |
( |
int |
proxyType0, |
|
|
int |
proxyType1 |
|
) |
| |
|
virtual |
Get the algorithm allocator to use.
If both are compounds the btCompoundCompoundCollisionAlgorithm is used, otherwise BtRWCollisionAlgorithm is used.
- Parameters
-
proxyType0 | [in] the type of first object. |
proxyType1 | [in] the type of second object. |
- Returns
- the collision algorithm allocator.
◆ getCollisionAlgorithmPool()
virtual btPoolAllocator* getCollisionAlgorithmPool |
( |
| ) |
|
|
virtual |
Get algorithm allocator.
- Returns
- the allocator.
◆ getPersistentManifoldPool()
virtual btPoolAllocator* getPersistentManifoldPool |
( |
| ) |
|
|
virtual |
Get pool of allocated manifolds.
- Returns
- the allocator.
◆ getStackAllocator()
virtual btStackAlloc* getStackAllocator |
( |
| ) |
|
|
virtual |
Get stack allocator (for older versions of Bullet).
- Returns
- pointer to the stack allocator.
- Deprecated:
- Only defined for backwards compatibility with Bullet 2.81.
The documentation for this class was generated from the following file: