OpenVDB  1.1.0
Classes | Public Member Functions | Protected Attributes | List of all members
RootNodeMask Class Reference

#include <NodeMasks.h>

Classes

class  BaseIterator
class  DenseIterator
class  OffIterator
class  OnIterator

Public Member Functions

 RootNodeMask ()
 RootNodeMask (Index32 bit_size)
 RootNodeMask (const RootNodeMask &B)
 ~RootNodeMask ()
void init (Index32 bit_size)
Index getBitSize () const
Index getIntSize () const
void operator= (const RootNodeMask &B)
OnIterator beginOn () const
OnIterator endOn () const
OffIterator beginOff () const
OffIterator endOff () const
DenseIterator beginDense () const
DenseIterator endDense () const
bool operator== (const RootNodeMask &B) const
bool operator!= (const RootNodeMask &B) const
RootNodeMask operator! () const
const RootNodeMaskoperator&= (const RootNodeMask &other)
const RootNodeMaskoperator|= (const RootNodeMask &other)
const RootNodeMaskoperator^= (const RootNodeMask &other)
RootNodeMask operator& (const RootNodeMask &other) const
RootNodeMask operator| (const RootNodeMask &other) const
RootNodeMask operator^ (const RootNodeMask &other) const
Index32 getMemUsage () const
Index32 countOn () const
Index32 countOff () const
void setOn (Index32 i)
void setOff (Index32 i)
void set (Index32 i, bool On)
void setOn ()
void setOff ()
void toggle (Index32 i)
void toggle ()
void setFirstOn ()
void setLastOn ()
void setFirstOff ()
void setLastOff ()
bool isOn (Index32 i) const
bool isOff (Index32 i) const
bool isOn () const
bool isOff () const
Index32 findFirstOn () const
Index32 findFirstOff () const
void save (std::ostream &os) const
void load (std::istream &is)
void printInfo (std::ostream &os=std::cout) const
 simple print method for debugging
void printBits (std::ostream &os=std::cout, Index32 max_out=80u) const
void printAll (std::ostream &os=std::cout, Index32 max_out=80u) const
Index32 findNextOn (Index32 start) const
Index32 findNextOff (Index32 start) const
Index32 memUsage () const

Protected Attributes

Index32 mBitSize
Index32 mIntSize
Index32mBits

Constructor & Destructor Documentation

RootNodeMask ( )
inline
RootNodeMask ( Index32  bit_size)
inline
RootNodeMask ( const RootNodeMask B)
inline
~RootNodeMask ( )
inline

Member Function Documentation

DenseIterator beginDense ( ) const
inline
OffIterator beginOff ( ) const
inline
OnIterator beginOn ( ) const
inline
Index32 countOff ( ) const
inline
Index32 countOn ( ) const
inline
DenseIterator endDense ( ) const
inline
OffIterator endOff ( ) const
inline
OnIterator endOn ( ) const
inline
Index32 findFirstOff ( ) const
inline
Index32 findFirstOn ( ) const
inline
Index32 findNextOff ( Index32  start) const
inline
Index32 findNextOn ( Index32  start) const
inline
Index getBitSize ( ) const
inline
Index getIntSize ( ) const
inline
Index32 getMemUsage ( ) const
inline
void init ( Index32  bit_size)
inline
bool isOff ( Index32  i) const
inline
bool isOff ( ) const
inline
bool isOn ( Index32  i) const
inline
bool isOn ( ) const
inline
void load ( std::istream &  is)
inline
Index32 memUsage ( ) const
inline
RootNodeMask operator! ( ) const
inline
bool operator!= ( const RootNodeMask B) const
inline
RootNodeMask operator& ( const RootNodeMask other) const
inline
const RootNodeMask& operator&= ( const RootNodeMask other)
inline
void operator= ( const RootNodeMask B)
inline
bool operator== ( const RootNodeMask B) const
inline
RootNodeMask operator^ ( const RootNodeMask other) const
inline
const RootNodeMask& operator^= ( const RootNodeMask other)
inline
RootNodeMask operator| ( const RootNodeMask other) const
inline
const RootNodeMask& operator|= ( const RootNodeMask other)
inline
void printAll ( std::ostream &  os = std::cout,
Index32  max_out = 80u 
) const
inline
void printBits ( std::ostream &  os = std::cout,
Index32  max_out = 80u 
) const
inline
void printInfo ( std::ostream &  os = std::cout) const
inline

simple print method for debugging

void save ( std::ostream &  os) const
inline
void set ( Index32  i,
bool  On 
)
inline
void setFirstOff ( )
inline
void setFirstOn ( )
inline
void setLastOff ( )
inline
void setLastOn ( )
inline
void setOff ( Index32  i)
inline
void setOff ( )
inline
void setOn ( Index32  i)
inline
void setOn ( )
inline
void toggle ( Index32  i)
inline
void toggle ( )
inline

Member Data Documentation

Index32* mBits
protected
Index32 mBitSize
protected
Index32 mIntSize
protected

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