16 #ifndef BT_GHOST_OBJECT_H 17 #define BT_GHOST_OBJECT_H 57 return m_overlappingObjects.
size();
62 return m_overlappingObjects[index];
67 return m_overlappingObjects[index];
72 return m_overlappingObjects;
77 return m_overlappingObjects;
virtual btBroadphasePair * addOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
virtual ~btPairCachingGhostObject()
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
virtual void removeOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
btCollisionObject * getOverlappingObject(int index)
const btCollisionObject * getOverlappingObject(int index) const
static btGhostObject * upcast(btCollisionObject *colObj)
RayResultCallback is used to report new raycast results.
static const btGhostObject * upcast(const btCollisionObject *colObj)
virtual ~btGhostPairCallback()
btPairCachingGhostObject()
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
btHashedOverlappingPairCache * getOverlappingPairCache()
virtual void removeOverlappingPairsContainingProxy(btBroadphaseProxy *, btDispatcher *)
btAlignedObjectArray< btCollisionObject * > & getOverlappingPairs()
The btGhostPairCallback interfaces and forwards adding and removal of overlapping pairs from the btBr...
int getNumOverlappingObjects() const
btCollisionObject can be used to manage collision detection objects.
virtual void addOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
const btAlignedObjectArray< btCollisionObject * > getOverlappingPairs() const
The btBroadphaseProxy is the main class that can be used with the Bullet broadphases.
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
int size() const
return the number of elements in the array
virtual void removeOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
btHashedOverlappingPairCache * m_hashPairCache
int getInternalType() const
reserved for Bullet internal usage
The btGhostObject can keep track of all objects that are overlapping By default, this overlap is base...
virtual void * removeOverlappingPair(btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher)
RayResultCallback is used to report new raycast results.
virtual void addOverlappingObjectInternal(btBroadphaseProxy *otherProxy, btBroadphaseProxy *thisProxy=0)
this method is mainly for expert/internal use only.
btAlignedObjectArray< btCollisionObject * > m_overlappingObjects
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
Hash-space based Pair Cache, thanks to Erin Catto, Box2D, http://www.box2d.org, and Pierre Terdiman...
The btOverlappingPairCallback class is an additional optional broadphase user callback for adding/rem...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btBroadphasePair class contains a pair of aabb-overlapping objects.