HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1068 of file NodeMasks.h.

Constructor & Destructor Documentation

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

Definition at line 1075 of file NodeMasks.h.

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

Definition at line 1076 of file NodeMasks.h.

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

Definition at line 1081 of file NodeMasks.h.

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

Definition at line 1086 of file NodeMasks.h.

Member Function Documentation

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

Definition at line 1233 of file NodeMasks.h.

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

Definition at line 1231 of file NodeMasks.h.

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

Definition at line 1229 of file NodeMasks.h.

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

Definition at line 1296 of file NodeMasks.h.

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

Definition at line 1289 of file NodeMasks.h.

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

Definition at line 1234 of file NodeMasks.h.

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

Definition at line 1232 of file NodeMasks.h.

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

Definition at line 1230 of file NodeMasks.h.

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

Definition at line 1363 of file NodeMasks.h.

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

Definition at line 1356 of file NodeMasks.h.

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

Definition at line 1415 of file NodeMasks.h.

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

Definition at line 1404 of file NodeMasks.h.

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

Definition at line 1096 of file NodeMasks.h.

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

Definition at line 1098 of file NodeMasks.h.

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

Definition at line 1285 of file NodeMasks.h.

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

Definition at line 1088 of file NodeMasks.h.

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

Definition at line 1338 of file NodeMasks.h.

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

Definition at line 1350 of file NodeMasks.h.

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

Definition at line 1333 of file NodeMasks.h.

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

Definition at line 1344 of file NodeMasks.h.

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

Definition at line 1374 of file NodeMasks.h.

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

Definition at line 1426 of file NodeMasks.h.

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

Definition at line 1251 of file NodeMasks.h.

Definition at line 1242 of file NodeMasks.h.

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

Definition at line 1274 of file NodeMasks.h.

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

Definition at line 1252 of file NodeMasks.h.

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

Definition at line 1100 of file NodeMasks.h.

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

Definition at line 1236 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 1267 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 1260 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 1399 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 1387 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 1383 of file NodeMasks.h.

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

Definition at line 1370 of file NodeMasks.h.

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

Definition at line 1378 of file NodeMasks.h.

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

Definition at line 1310 of file NodeMasks.h.

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

Definition at line 1331 of file NodeMasks.h.

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

Definition at line 1329 of file NodeMasks.h.

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

Definition at line 1332 of file NodeMasks.h.

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

Definition at line 1330 of file NodeMasks.h.

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

Definition at line 1304 of file NodeMasks.h.

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

Definition at line 1316 of file NodeMasks.h.

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

Definition at line 1298 of file NodeMasks.h.

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

Definition at line 1312 of file NodeMasks.h.

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

Definition at line 1320 of file NodeMasks.h.

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

Definition at line 1325 of file NodeMasks.h.

Member Data Documentation

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

Definition at line 1072 of file NodeMasks.h.

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

Definition at line 1071 of file NodeMasks.h.

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

Definition at line 1071 of file NodeMasks.h.


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