Bullet Collision Detection & Physics Library
Public Member Functions | Private Attributes | List of all members
btSoftBodyRigidBodyCollisionConfiguration Class Reference

btSoftBodyRigidBodyCollisionConfiguration add softbody interaction on top of btDefaultCollisionConfiguration More...

#include <btSoftBodyRigidBodyCollisionConfiguration.h>

Inheritance diagram for btSoftBodyRigidBodyCollisionConfiguration:
Inheritance graph
[legend]
Collaboration diagram for btSoftBodyRigidBodyCollisionConfiguration:
Collaboration graph
[legend]

Public Member Functions

 btSoftBodyRigidBodyCollisionConfiguration (const btDefaultCollisionConstructionInfo &constructionInfo=btDefaultCollisionConstructionInfo())
 
virtual ~btSoftBodyRigidBodyCollisionConfiguration ()
 
virtual btCollisionAlgorithmCreateFuncgetCollisionAlgorithmCreateFunc (int proxyType0, int proxyType1)
 creation of soft-soft and soft-rigid, and otherwise fallback to base class implementation More...
 
- Public Member Functions inherited from btDefaultCollisionConfiguration
 btDefaultCollisionConfiguration (const btDefaultCollisionConstructionInfo &constructionInfo=btDefaultCollisionConstructionInfo())
 
virtual ~btDefaultCollisionConfiguration ()
 
virtual btPoolAllocatorgetPersistentManifoldPool ()
 memory pools More...
 
virtual btPoolAllocatorgetCollisionAlgorithmPool ()
 
virtual btVoronoiSimplexSolvergetSimplexSolver ()
 
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 ()
 

Private Attributes

btCollisionAlgorithmCreateFuncm_softSoftCreateFunc
 
btCollisionAlgorithmCreateFuncm_softRigidConvexCreateFunc
 
btCollisionAlgorithmCreateFuncm_swappedSoftRigidConvexCreateFunc
 
btCollisionAlgorithmCreateFuncm_softRigidConcaveCreateFunc
 
btCollisionAlgorithmCreateFuncm_swappedSoftRigidConcaveCreateFunc
 

Additional Inherited Members

- Protected Attributes inherited from btDefaultCollisionConfiguration
int m_persistentManifoldPoolSize
 
btPoolAllocatorm_persistentManifoldPool
 
bool m_ownsPersistentManifoldPool
 
btPoolAllocatorm_collisionAlgorithmPool
 
bool m_ownsCollisionAlgorithmPool
 
btVoronoiSimplexSolverm_simplexSolver
 
btConvexPenetrationDepthSolverm_pdSolver
 
btCollisionAlgorithmCreateFuncm_convexConvexCreateFunc
 
btCollisionAlgorithmCreateFuncm_convexConcaveCreateFunc
 
btCollisionAlgorithmCreateFuncm_swappedConvexConcaveCreateFunc
 
btCollisionAlgorithmCreateFuncm_compoundCreateFunc
 
btCollisionAlgorithmCreateFuncm_compoundCompoundCreateFunc
 
btCollisionAlgorithmCreateFuncm_swappedCompoundCreateFunc
 
btCollisionAlgorithmCreateFuncm_emptyCreateFunc
 
btCollisionAlgorithmCreateFuncm_sphereSphereCF
 
btCollisionAlgorithmCreateFuncm_sphereBoxCF
 
btCollisionAlgorithmCreateFuncm_boxSphereCF
 
btCollisionAlgorithmCreateFuncm_boxBoxCF
 
btCollisionAlgorithmCreateFuncm_sphereTriangleCF
 
btCollisionAlgorithmCreateFuncm_triangleSphereCF
 
btCollisionAlgorithmCreateFuncm_planeConvexCF
 
btCollisionAlgorithmCreateFuncm_convexPlaneCF
 

Detailed Description

btSoftBodyRigidBodyCollisionConfiguration add softbody interaction on top of btDefaultCollisionConfiguration

Definition at line 26 of file btSoftBodyRigidBodyCollisionConfiguration.h.

Constructor & Destructor Documentation

btSoftBodyRigidBodyCollisionConfiguration::btSoftBodyRigidBodyCollisionConfiguration ( const btDefaultCollisionConstructionInfo constructionInfo = btDefaultCollisionConstructionInfo())

calculate maximum element size, big enough to fit any collision algorithm in the memory pool

Definition at line 25 of file btSoftBodyRigidBodyCollisionConfiguration.cpp.

btSoftBodyRigidBodyCollisionConfiguration::~btSoftBodyRigidBodyCollisionConfiguration ( )
virtual

Member Function Documentation

btCollisionAlgorithmCreateFunc * btSoftBodyRigidBodyCollisionConfiguration::getCollisionAlgorithmCreateFunc ( int  proxyType0,
int  proxyType1 
)
virtual

creation of soft-soft and soft-rigid, and otherwise fallback to base class implementation

try to handle the softbody interactions first

softbody versus convex

convex versus soft body

softbody versus convex

convex versus soft body

fallback to the regular rigid collision shape

Reimplemented from btDefaultCollisionConfiguration.

Definition at line 96 of file btSoftBodyRigidBodyCollisionConfiguration.cpp.

Member Data Documentation

btCollisionAlgorithmCreateFunc* btSoftBodyRigidBodyCollisionConfiguration::m_softRigidConcaveCreateFunc
private

Definition at line 33 of file btSoftBodyRigidBodyCollisionConfiguration.h.

btCollisionAlgorithmCreateFunc* btSoftBodyRigidBodyCollisionConfiguration::m_softRigidConvexCreateFunc
private

Definition at line 31 of file btSoftBodyRigidBodyCollisionConfiguration.h.

btCollisionAlgorithmCreateFunc* btSoftBodyRigidBodyCollisionConfiguration::m_softSoftCreateFunc
private

Definition at line 30 of file btSoftBodyRigidBodyCollisionConfiguration.h.

btCollisionAlgorithmCreateFunc* btSoftBodyRigidBodyCollisionConfiguration::m_swappedSoftRigidConcaveCreateFunc
private

Definition at line 34 of file btSoftBodyRigidBodyCollisionConfiguration.h.

btCollisionAlgorithmCreateFunc* btSoftBodyRigidBodyCollisionConfiguration::m_swappedSoftRigidConvexCreateFunc
private

Definition at line 32 of file btSoftBodyRigidBodyCollisionConfiguration.h.


The documentation for this class was generated from the following files: