Bullet Collision Detection & Physics Library: btPersistentManifold.h File Reference

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
ContactDestroyedCallback | gContactDestroyedCallback
ContactProcessedCallback | gContactProcessedCallback
ContactStartedCallback | gContactStartedCallback
ContactEndedCallback | gContactEndedCallback

## Macro Definition Documentation

## ◆ btPersistentManifoldData

#define btPersistentManifoldData btPersistentManifoldFloatData

Definition at line 370 of file btPersistentManifold.h.

## ◆ btPersistentManifoldDataName

#define btPersistentManifoldDataName "btPersistentManifoldFloatData"

Definition at line 371 of file btPersistentManifold.h.

## ◆ MAINTAIN_PERSISTENCY

#define MAINTAIN_PERSISTENCY 1

## ◆ MANIFOLD_CACHE_SIZE

#define MANIFOLD_CACHE_SIZE 4

Definition at line 52 of file btPersistentManifold.h.

## Typedef Documentation

## ◆ ContactDestroyedCallback

typedef bool(* ContactDestroyedCallback) (void *userPersistentData)

Definition at line 35 of file btPersistentManifold.h.

## ◆ ContactEndedCallback

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

Definition at line 38 of file btPersistentManifold.h.

## ◆ ContactProcessedCallback

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

Definition at line 36 of file btPersistentManifold.h.

## ◆ ContactStartedCallback

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

Definition at line 37 of file btPersistentManifold.h.

## Enumeration Type Documentation

## ◆ btContactManifoldTypes

enum btContactManifoldTypes

Enumerator
MIN_CONTACT_MANIFOLD_TYPE |
BT_PERSISTENT_MANIFOLD_TYPE |

Definition at line 46 of file btPersistentManifold.h.

## Variable Documentation

## ◆ gContactBreakingThreshold

btScalar gContactBreakingThreshold
| extern

maximum contact breaking and merging threshold

Definition at line 26 of file btPersistentManifold.cpp.

## ◆ gContactDestroyedCallback

ContactDestroyedCallback gContactDestroyedCallback
| extern

Definition at line 27 of file btPersistentManifold.cpp.

## ◆ gContactEndedCallback

ContactEndedCallback gContactEndedCallback
| extern

Definition at line 30 of file btPersistentManifold.cpp.

## ◆ gContactProcessedCallback

ContactProcessedCallback gContactProcessedCallback
| extern

Definition at line 28 of file btPersistentManifold.cpp.

## ◆ gContactStartedCallback

ContactStartedCallback gContactStartedCallback
| extern

Definition at line 29 of file btPersistentManifold.cpp.