Bullet Collision Detection & Physics Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
btBroadphaseProxy Struct Reference

The btBroadphaseProxy is the main class that can be used with the Bullet broadphases. More...

#include <btBroadphaseProxy.h>

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

Public Types

enum  CollisionFilterGroups {
  DefaultFilter = 1,
  StaticFilter = 2,
  KinematicFilter = 4,
  DebrisFilter = 8,
  SensorTrigger = 16,
  CharacterFilter = 32,
  AllFilter = -1
}
 optional filtering to cull potential collisions More...
 

Public Member Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 
int getUid () const
 
 btBroadphaseProxy ()
 
 btBroadphaseProxy (const btVector3 &aabbMin, const btVector3 &aabbMax, void *userPtr, short int collisionFilterGroup, short int collisionFilterMask, void *multiSapParentProxy=0)
 

Static Public Member Functions

static bool isPolyhedral (int proxyType)
 
static bool isConvex (int proxyType)
 
static bool isNonMoving (int proxyType)
 
static bool isConcave (int proxyType)
 
static bool isCompound (int proxyType)
 
static bool isSoftBody (int proxyType)
 
static bool isInfinite (int proxyType)
 
static bool isConvex2d (int proxyType)
 

Public Attributes

void * m_clientObject
 
short int m_collisionFilterGroup
 
short int m_collisionFilterMask
 
void * m_multiSapParentProxy
 
int m_uniqueId
 
btVector3 m_aabbMin
 
btVector3 m_aabbMax
 

Detailed Description

The btBroadphaseProxy is the main class that can be used with the Bullet broadphases.

It stores collision shape type information, collision filter information and a client object, typically a btCollisionObject or btRigidBody.

Definition at line 85 of file btBroadphaseProxy.h.

Member Enumeration Documentation

optional filtering to cull potential collisions

Enumerator
DefaultFilter 
StaticFilter 
KinematicFilter 
DebrisFilter 
SensorTrigger 
CharacterFilter 
AllFilter 

Definition at line 91 of file btBroadphaseProxy.h.

Constructor & Destructor Documentation

btBroadphaseProxy::btBroadphaseProxy ( )
inline

Definition at line 118 of file btBroadphaseProxy.h.

btBroadphaseProxy::btBroadphaseProxy ( const btVector3 aabbMin,
const btVector3 aabbMax,
void *  userPtr,
short int  collisionFilterGroup,
short int  collisionFilterMask,
void *  multiSapParentProxy = 0 
)
inline

Definition at line 122 of file btBroadphaseProxy.h.

Member Function Documentation

btBroadphaseProxy::BT_DECLARE_ALIGNED_ALLOCATOR ( )
int btBroadphaseProxy::getUid ( ) const
inline

Definition at line 112 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isCompound ( int  proxyType)
inlinestatic

Definition at line 154 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isConcave ( int  proxyType)
inlinestatic

Definition at line 149 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isConvex ( int  proxyType)
inlinestatic

Definition at line 139 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isConvex2d ( int  proxyType)
inlinestatic

Definition at line 169 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isInfinite ( int  proxyType)
inlinestatic

Definition at line 164 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isNonMoving ( int  proxyType)
inlinestatic

Definition at line 144 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isPolyhedral ( int  proxyType)
inlinestatic

Definition at line 134 of file btBroadphaseProxy.h.

static bool btBroadphaseProxy::isSoftBody ( int  proxyType)
inlinestatic

Definition at line 159 of file btBroadphaseProxy.h.

Member Data Documentation

btVector3 btBroadphaseProxy::m_aabbMax

Definition at line 110 of file btBroadphaseProxy.h.

btVector3 btBroadphaseProxy::m_aabbMin

Definition at line 109 of file btBroadphaseProxy.h.

void* btBroadphaseProxy::m_clientObject

Definition at line 103 of file btBroadphaseProxy.h.

short int btBroadphaseProxy::m_collisionFilterGroup

Definition at line 104 of file btBroadphaseProxy.h.

short int btBroadphaseProxy::m_collisionFilterMask

Definition at line 105 of file btBroadphaseProxy.h.

void* btBroadphaseProxy::m_multiSapParentProxy

Definition at line 106 of file btBroadphaseProxy.h.

int btBroadphaseProxy::m_uniqueId

Definition at line 107 of file btBroadphaseProxy.h.


The documentation for this struct was generated from the following file: