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...
 

Macros

#define MANIFOLD_CACHE_SIZE   4
 
#define MAINTAIN_PERSISTENCY   1
 

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

§ MAINTAIN_PERSISTENCY

#define MAINTAIN_PERSISTENCY   1

§ MANIFOLD_CACHE_SIZE

#define MANIFOLD_CACHE_SIZE   4

Definition at line 51 of file btPersistentManifold.h.

Typedef Documentation

§ ContactDestroyedCallback

typedef bool(* ContactDestroyedCallback) (void *userPersistentData)

Definition at line 34 of file btPersistentManifold.h.

§ ContactEndedCallback

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

Definition at line 37 of file btPersistentManifold.h.

§ ContactProcessedCallback

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

Definition at line 35 of file btPersistentManifold.h.

§ ContactStartedCallback

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

Definition at line 36 of file btPersistentManifold.h.

Enumeration Type Documentation

§ btContactManifoldTypes

Enumerator
MIN_CONTACT_MANIFOLD_TYPE 
BT_PERSISTENT_MANIFOLD_TYPE 

Definition at line 45 of file btPersistentManifold.h.

Variable Documentation

§ gContactBreakingThreshold

btScalar gContactBreakingThreshold

maximum contact breaking and merging threshold

Definition at line 21 of file btPersistentManifold.cpp.

§ gContactDestroyedCallback

ContactDestroyedCallback gContactDestroyedCallback

Definition at line 22 of file btPersistentManifold.cpp.

§ gContactEndedCallback

ContactEndedCallback gContactEndedCallback

Definition at line 25 of file btPersistentManifold.cpp.

§ gContactProcessedCallback

ContactProcessedCallback gContactProcessedCallback

Definition at line 23 of file btPersistentManifold.cpp.

§ gContactStartedCallback

ContactStartedCallback gContactStartedCallback

Definition at line 24 of file btPersistentManifold.cpp.