HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::util::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
 
RootNodeMaskoperator= (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 seek (std::istream &is) const
 
void printInfo (std::ostream &os=std::cout) const
 simple print method for debugging More...
 
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
 

Detailed Description

Definition at line 1071 of file NodeMasks.h.

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::RootNodeMask ( )
inline

Definition at line 1078 of file NodeMasks.h.

openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::RootNodeMask ( Index32  bit_size)
inline

Definition at line 1079 of file NodeMasks.h.

openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::RootNodeMask ( const RootNodeMask B)
inline

Definition at line 1084 of file NodeMasks.h.

openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::~RootNodeMask ( )
inline

Definition at line 1089 of file NodeMasks.h.

Member Function Documentation

DenseIterator openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::beginDense ( ) const
inline

Definition at line 1236 of file NodeMasks.h.

OffIterator openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::beginOff ( ) const
inline

Definition at line 1234 of file NodeMasks.h.

OnIterator openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::beginOn ( ) const
inline

Definition at line 1232 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::countOff ( ) const
inline

Definition at line 1299 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::countOn ( ) const
inline

Definition at line 1292 of file NodeMasks.h.

DenseIterator openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::endDense ( ) const
inline

Definition at line 1237 of file NodeMasks.h.

OffIterator openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::endOff ( ) const
inline

Definition at line 1235 of file NodeMasks.h.

OnIterator openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::endOn ( ) const
inline

Definition at line 1233 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::findFirstOff ( ) const
inline

Definition at line 1366 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::findFirstOn ( ) const
inline

Definition at line 1359 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::findNextOff ( Index32  start) const
inline

Definition at line 1418 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::findNextOn ( Index32  start) const
inline

Definition at line 1407 of file NodeMasks.h.

Index openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::getBitSize ( ) const
inline

Definition at line 1099 of file NodeMasks.h.

Index openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::getIntSize ( ) const
inline

Definition at line 1101 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::getMemUsage ( ) const
inline

Definition at line 1288 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::init ( Index32  bit_size)
inline

Definition at line 1091 of file NodeMasks.h.

bool openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::isOff ( Index32  i) const
inline

Definition at line 1341 of file NodeMasks.h.

bool openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::isOff ( ) const
inline

Definition at line 1353 of file NodeMasks.h.

bool openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::isOn ( Index32  i) const
inline

Definition at line 1336 of file NodeMasks.h.

bool openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::isOn ( ) const
inline

Definition at line 1347 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::load ( std::istream &  is)
inline

Definition at line 1377 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::memUsage ( ) const
inline

Definition at line 1429 of file NodeMasks.h.

RootNodeMask openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator! ( void  ) const
inline

Definition at line 1254 of file NodeMasks.h.

Definition at line 1245 of file NodeMasks.h.

RootNodeMask openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator& ( const RootNodeMask other) const
inline

Definition at line 1277 of file NodeMasks.h.

const RootNodeMask& openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator&= ( const RootNodeMask other)
inline

Definition at line 1255 of file NodeMasks.h.

RootNodeMask& openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator= ( const RootNodeMask B)
inline

Definition at line 1103 of file NodeMasks.h.

bool openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator== ( const RootNodeMask B) const
inline

Definition at line 1239 of file NodeMasks.h.

RootNodeMask openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator^ ( const RootNodeMask other) const
inline

Definition at line 1283 of file NodeMasks.h.

const RootNodeMask& openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator^= ( const RootNodeMask other)
inline

Definition at line 1270 of file NodeMasks.h.

RootNodeMask openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator| ( const RootNodeMask other) const
inline

Definition at line 1280 of file NodeMasks.h.

const RootNodeMask& openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::operator|= ( const RootNodeMask other)
inline

Definition at line 1263 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::printAll ( std::ostream &  os = std::cout,
Index32  max_out = 80u 
) const
inline

Definition at line 1402 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::printBits ( std::ostream &  os = std::cout,
Index32  max_out = 80u 
) const
inline

Definition at line 1390 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::printInfo ( std::ostream &  os = std::cout) const
inline

simple print method for debugging

Definition at line 1386 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::save ( std::ostream &  os) const
inline

Definition at line 1373 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::seek ( std::istream &  is) const
inline

Definition at line 1381 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::set ( Index32  i,
bool  On 
)
inline

Definition at line 1313 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setFirstOff ( )
inline

Definition at line 1334 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setFirstOn ( )
inline

Definition at line 1332 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setLastOff ( )
inline

Definition at line 1335 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setLastOn ( )
inline

Definition at line 1333 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setOff ( Index32  i)
inline

Definition at line 1307 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setOff ( )
inline

Definition at line 1319 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setOn ( Index32  i)
inline

Definition at line 1301 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::setOn ( )
inline

Definition at line 1315 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::toggle ( Index32  i)
inline

Definition at line 1323 of file NodeMasks.h.

void openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::toggle ( )
inline

Definition at line 1328 of file NodeMasks.h.

Member Data Documentation

Index32* openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::mBits
protected

Definition at line 1075 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::mBitSize
protected

Definition at line 1074 of file NodeMasks.h.

Index32 openvdb::OPENVDB_VERSION_NAME::util::RootNodeMask::mIntSize
protected

Definition at line 1074 of file NodeMasks.h.


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