RavEngine
Loading...
Searching...
No Matches
physx::PxBitMapBase< PxAllocator > Class Template Reference

#include <PxBitMap.h>

Inheritance diagram for physx::PxBitMapBase< PxAllocator >:
[legend]
Collaboration diagram for physx::PxBitMapBase< PxAllocator >:
[legend]

Classes

struct  AND
 
class  Iterator
 
struct  OR
 
class  PxCircularIterator
 
class  PxLoopIterator
 
struct  XOR
 

Public Member Functions

 PxBitMapBase (const PxEMPTY)
 
PX_INLINE PxBitMapBase (const PxAllocator &allocator)
 
PX_INLINE void release ()
 
PX_INLINE PxAllocator & getAllocator ()
 
PX_INLINE void growAndSet (PxU32 index)
 
PX_INLINE void growAndReset (PxU32 index)
 
PX_INLINE PxIntBool boundedTest (PxU32 index) const
 
PX_INLINE void boundedReset (PxU32 index)
 
PX_INLINE void set (PxU32 index)
 
PX_INLINE void reset (PxU32 index)
 
PX_INLINE PxIntBool test (PxU32 index) const
 
PX_INLINE PxU32 getNibbleFast (PxU32 nibIndex) const
 
PX_INLINE void andNibbleFast (PxU32 nibIndex, PxU32 mask)
 
PX_INLINE void orNibbleFast (PxU32 nibIndex, PxU32 mask)
 
void clear ()
 
void resizeAndClear (PxU32 newBitCount)
 
void setEmpty ()
 
void setWords (PxU32 *map, PxU32 wordCount)
 
void resize (PxU32 newBitCount, bool value=false)
 
PxU32 size () const
 
void copy (const PxBitMapBase &a)
 
PX_INLINE PxU32 count () const
 
PX_INLINE PxU32 count (PxU32 start, PxU32 length) const
 
PxU32 findLast () const
 returns 0 if no bits set (!!!)
 
template<class Combiner , class _ >
PX_INLINE void combineInPlace (const PxBitMapBase< _ > &b)
 
template<class Combiner , class _1 , class _2 >
PX_INLINE void combine (const PxBitMapBase< _1 > &a, const PxBitMapBase< _2 > &b)
 
PX_FORCE_INLINE const PxU32 * getWords () const
 
PX_FORCE_INLINE PxU32 * getWords ()
 
PX_FORCE_INLINE PxU32 getWordCount () const
 
PX_FORCE_INLINE PxU32 isInUserMemory () const
 
- 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)
 

Protected Member Functions

void extend (PxU32 size)
 
void extendUninitialized (PxU32 size)
 
template<class Combiner >
void combine1 (const PxU32 *words, PxU32 length)
 
template<class Combiner >
void combine2 (const PxU32 *words1, PxU32 length1, const PxU32 *words2, PxU32 length2)
 

Protected Attributes

PxU32 * mMap
 
PxU32 mWordCount
 
PxAllocator mAllocator
 
PxU8 mPadding [3]
 

Friends

class Iterator
 

Detailed Description

template<class PxAllocator>
class physx::PxBitMapBase< PxAllocator >

Hold a bitmap with operations to set,reset or test given bit.

We inhibit copy to prevent unintentional copies. If a copy is desired copy() should be used or alternatively a copy constructor implemented.


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