OpenVDB
0.104.0
|
#include <NodeMasks.h>
Classes | |
class | BaseIterator |
class | DenseIterator |
class | OffIterator |
class | OnIterator |
Public Member Functions | |
BOOST_STATIC_ASSERT (Log2Dim >1) | |
NodeMask () | |
NodeMask (bool on) | |
NodeMask (const NodeMask &B) | |
~NodeMask () | |
void | operator= (const NodeMask &B) |
OnIterator | beginOn () const |
OnIterator | endOn () const |
OffIterator | beginOff () const |
OffIterator | endOff () const |
DenseIterator | beginDense () const |
DenseIterator | endDense () const |
bool | operator== (const NodeMask &B) const |
bool | operator!= (const NodeMask &B) const |
NodeMask | operator! () const |
const NodeMask & | operator&= (const NodeMask &other) |
const NodeMask & | operator|= (const NodeMask &other) |
const NodeMask & | operator^= (const NodeMask &other) |
NodeMask | operator& (const NodeMask &other) const |
NodeMask | operator| (const NodeMask &other) const |
NodeMask | operator^ (const NodeMask &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 | set (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 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 |
template<typename WordT > | |
WordT | getWord (Index n) const |
template<typename WordT > | |
WordT & | getWord (Index n) |
Static Public Attributes | |
static const Index32 | LOG2DIM = Log2Dim |
static const Index32 | DIM = 1<<Log2Dim |
static const Index32 | BIT_SIZE = 1<<3*Log2Dim |
static const Index32 | INT_SIZE = (1<<(3*Log2Dim-3))>>2 |
Protected Attributes | |
Index32 | mBits [INT_SIZE] |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
BOOST_STATIC_ASSERT | ( | Log2Dim | , |
1 | |||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
simple print method for debugging
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |