RavEngine
Loading...
Searching...
No Matches
internalMBP::MBP Class Reference
Inheritance diagram for internalMBP::MBP:
[legend]
Collaboration diagram for internalMBP::MBP:
[legend]

Public Member Functions

void preallocate (PxU32 nbRegions, PxU32 nbObjects, PxU32 maxNbOverlaps)
 
void reset ()
 
void freeBuffers ()
 
PxU32 addRegion (const PxBroadPhaseRegion &region, bool populateRegion, const PxBounds3 *boundsArray, const PxReal *contactDistance)
 
bool removeRegion (PxU32 handle)
 
const Region * getRegion (PxU32 i) const
 
PX_FORCE_INLINE PxU32 getNbRegions () const
 
MBP_Handle addObject (const MBP_AABB &box, BpHandle userID, bool isStatic)
 
bool removeObject (MBP_Handle handle)
 
bool updateObject (MBP_Handle handle, const MBP_AABB &box)
 
bool updateObjectAfterRegionRemoval (MBP_Handle handle, Region *removedRegion)
 
bool updateObjectAfterNewRegionAdded (MBP_Handle handle, const MBP_AABB &box, Region *addedRegion, PxU32 regionIndex)
 
void prepareOverlaps ()
 
void findOverlaps (const Bp::FilterGroup::Enum *PX_RESTRICT groups, const bool *PX_RESTRICT lut)
 
PxU32 finalize (BroadPhaseMBP *mbp)
 
void shiftOrigin (const PxVec3 &shift, const PxBounds3 *boundsArray, const PxReal *contactDistances)
 
PX_FORCE_INLINE RegionHandle * getHandles (MBP_Object &currentObject, PxU32 nbHandles)
 
void purgeHandles (MBP_Object *PX_RESTRICT object, PxU32 nbHandles)
 
void storeHandles (MBP_Object *PX_RESTRICT object, PxU32 nbHandles, const RegionHandle *PX_RESTRICT handles)
 
void addToOutOfBoundsArray (BpHandle id)
 
void populateNewRegion (const MBP_AABB &box, Region *addedRegion, PxU32 regionIndex, const PxBounds3 *boundsArray, const PxReal *contactDistance)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Public Attributes

PxU32 mNbRegions
 
MBP_ObjectIndex mFirstFreeIndex
 
PxU32 mFirstFreeIndexBP
 
PxArray< RegionData > mRegions
 
PxArray< MBP_Object > mMBP_Objects
 
MBP_PairManager mPairManager
 
BitArray mUpdatedObjects
 
BitArray mRemoved
 
PxArray< PxU32 > mHandles [MAX_NB_MBP+1]
 
PxU32 mFirstFree [MAX_NB_MBP+1]
 
PxArray< PxU32 > mOutOfBoundsObjects
 
BitArray mFullyInsideBitmap
 

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