OpenVDB
12.0.0
|
#include <openvdb/tree/LeafBuffer.h>
Public Types | |
using | NodeMaskType = util::NodeMask< Log2Dim > |
using | WordType = typename NodeMaskType::Word |
using | ValueType = bool |
using | StorageType = WordType |
Public Member Functions | |
LeafBuffer () | |
LeafBuffer (bool on) | |
LeafBuffer (const NodeMaskType &other) | |
LeafBuffer (const LeafBuffer &other) | |
~LeafBuffer () | |
void | fill (bool val) |
LeafBuffer & | operator= (const LeafBuffer &b) |
const bool & | getValue (Index i) const |
const bool & | operator[] (Index i) const |
bool | operator== (const LeafBuffer &other) const |
bool | operator!= (const LeafBuffer &other) const |
void | setValue (Index i, bool val) |
void | swap (LeafBuffer &other) |
Index | memUsage () const |
Index | memUsageIfLoaded () const |
WordType * | data () |
Return a pointer to the C-style array of words encoding the bits. More... | |
const WordType * | data () const |
Return a const pointer to the C-style array of words encoding the bits. More... | |
Static Public Member Functions | |
static Index | size () |
Static Public Attributes | |
static const Index | WORD_COUNT = NodeMaskType::WORD_COUNT |
static const Index | SIZE = 1 << 3 * Log2Dim |
static const bool | sOn = true |
static const bool | sOff = false |
Friends | |
template<typename , Index > | |
class | LeafNode |
using NodeMaskType = util::NodeMask<Log2Dim> |
using StorageType = WordType |
using ValueType = bool |
using WordType = typename NodeMaskType::Word |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return a pointer to the C-style array of words encoding the bits.
|
inline |
Return a const pointer to the C-style array of words encoding the bits.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
friend |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |