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 1066 of file NodeMasks.h.

Constructor & Destructor Documentation

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

Definition at line 1073 of file NodeMasks.h.

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

Definition at line 1074 of file NodeMasks.h.

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

Definition at line 1079 of file NodeMasks.h.

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

Definition at line 1084 of file NodeMasks.h.

Member Function Documentation

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

Definition at line 1231 of file NodeMasks.h.

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

Definition at line 1229 of file NodeMasks.h.

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

Definition at line 1227 of file NodeMasks.h.

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

Definition at line 1294 of file NodeMasks.h.

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

Definition at line 1287 of file NodeMasks.h.

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

Definition at line 1232 of file NodeMasks.h.

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

Definition at line 1230 of file NodeMasks.h.

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

Definition at line 1228 of file NodeMasks.h.

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

Definition at line 1361 of file NodeMasks.h.

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

Definition at line 1354 of file NodeMasks.h.

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

Definition at line 1413 of file NodeMasks.h.

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

Definition at line 1402 of file NodeMasks.h.

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

Definition at line 1094 of file NodeMasks.h.

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

Definition at line 1096 of file NodeMasks.h.

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

Definition at line 1283 of file NodeMasks.h.

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

Definition at line 1086 of file NodeMasks.h.

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

Definition at line 1336 of file NodeMasks.h.

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

Definition at line 1348 of file NodeMasks.h.

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

Definition at line 1331 of file NodeMasks.h.

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

Definition at line 1342 of file NodeMasks.h.

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

Definition at line 1372 of file NodeMasks.h.

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

Definition at line 1424 of file NodeMasks.h.

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

Definition at line 1249 of file NodeMasks.h.

Definition at line 1240 of file NodeMasks.h.

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

Definition at line 1272 of file NodeMasks.h.

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

Definition at line 1250 of file NodeMasks.h.

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

Definition at line 1098 of file NodeMasks.h.

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

Definition at line 1234 of file NodeMasks.h.

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

Definition at line 1278 of file NodeMasks.h.

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

Definition at line 1265 of file NodeMasks.h.

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

Definition at line 1275 of file NodeMasks.h.

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

Definition at line 1258 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 1397 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 1385 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 1381 of file NodeMasks.h.

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

Definition at line 1368 of file NodeMasks.h.

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

Definition at line 1376 of file NodeMasks.h.

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

Definition at line 1308 of file NodeMasks.h.

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

Definition at line 1329 of file NodeMasks.h.

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

Definition at line 1327 of file NodeMasks.h.

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

Definition at line 1330 of file NodeMasks.h.

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

Definition at line 1328 of file NodeMasks.h.

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

Definition at line 1302 of file NodeMasks.h.

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

Definition at line 1314 of file NodeMasks.h.

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

Definition at line 1296 of file NodeMasks.h.

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

Definition at line 1310 of file NodeMasks.h.

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

Definition at line 1318 of file NodeMasks.h.

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

Definition at line 1323 of file NodeMasks.h.

Member Data Documentation

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

Definition at line 1070 of file NodeMasks.h.

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

Definition at line 1069 of file NodeMasks.h.

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

Definition at line 1069 of file NodeMasks.h.


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