Bullet Collision Detection & Physics Library
Classes | Macros | Typedefs | Enumerations | Variables
btPersistentManifold.h File Reference
#include "LinearMath/btVector3.h"
#include "LinearMath/btTransform.h"
#include "btManifoldPoint.h"
#include "LinearMath/btAlignedAllocator.h"
Include dependency graph for btPersistentManifold.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  btPersistentManifold
 btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping in the broadphase. More...
 
struct  btPersistentManifoldDoubleData
 
struct  btPersistentManifoldFloatData
 

Macros

#define MANIFOLD_CACHE_SIZE   4
 
#define MAINTAIN_PERSISTENCY   1
 
#define btPersistentManifoldData   btPersistentManifoldFloatData
 
#define btPersistentManifoldDataName   "btPersistentManifoldFloatData"
 

Typedefs

typedef bool(* ContactDestroyedCallback) (void *userPersistentData)
 
typedef bool(* ContactProcessedCallback) (btManifoldPoint &cp, void *body0, void *body1)
 
typedef void(* ContactStartedCallback) (btPersistentManifold *const &manifold)
 
typedef void(* ContactEndedCallback) (btPersistentManifold *const &manifold)
 

Enumerations

enum  btContactManifoldTypes {
  MIN_CONTACT_MANIFOLD_TYPE = 1024,
  BT_PERSISTENT_MANIFOLD_TYPE
}
 

Variables

btScalar gContactBreakingThreshold
 maximum contact breaking and merging threshold More...
 
ContactDestroyedCallback gContactDestroyedCallback
 
ContactProcessedCallback gContactProcessedCallback
 
ContactStartedCallback gContactStartedCallback
 
ContactEndedCallback gContactEndedCallback
 

Macro Definition Documentation

#define btPersistentManifoldData   btPersistentManifoldFloatData

Definition at line 369 of file btPersistentManifold.h.

#define btPersistentManifoldDataName   "btPersistentManifoldFloatData"

Definition at line 370 of file btPersistentManifold.h.

#define MAINTAIN_PERSISTENCY   1
#define MANIFOLD_CACHE_SIZE   4

Definition at line 53 of file btPersistentManifold.h.

Typedef Documentation

typedef bool(* ContactDestroyedCallback) (void *userPersistentData)

Definition at line 36 of file btPersistentManifold.h.

typedef void(* ContactEndedCallback) (btPersistentManifold *const &manifold)

Definition at line 39 of file btPersistentManifold.h.

typedef bool(* ContactProcessedCallback) (btManifoldPoint &cp, void *body0, void *body1)

Definition at line 37 of file btPersistentManifold.h.

typedef void(* ContactStartedCallback) (btPersistentManifold *const &manifold)

Definition at line 38 of file btPersistentManifold.h.

Enumeration Type Documentation

Enumerator
MIN_CONTACT_MANIFOLD_TYPE 
BT_PERSISTENT_MANIFOLD_TYPE 

Definition at line 47 of file btPersistentManifold.h.

Variable Documentation

btScalar gContactBreakingThreshold

maximum contact breaking and merging threshold

Definition at line 27 of file btPersistentManifold.cpp.

ContactDestroyedCallback gContactDestroyedCallback

Definition at line 28 of file btPersistentManifold.cpp.

ContactEndedCallback gContactEndedCallback

Definition at line 31 of file btPersistentManifold.cpp.

ContactProcessedCallback gContactProcessedCallback

Definition at line 29 of file btPersistentManifold.cpp.

ContactStartedCallback gContactStartedCallback

Definition at line 30 of file btPersistentManifold.cpp.