HDK
|
#include <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 |
Definition at line 467 of file LeafBuffer.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafBuffer< bool, Log2Dim >::NodeMaskType = util::NodeMask<Log2Dim> |
Definition at line 470 of file LeafBuffer.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafBuffer< bool, Log2Dim >::StorageType = WordType |
Definition at line 473 of file LeafBuffer.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafBuffer< bool, Log2Dim >::ValueType = bool |
Definition at line 472 of file LeafBuffer.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafBuffer< bool, Log2Dim >::WordType = typename NodeMaskType::Word |
Definition at line 471 of file LeafBuffer.h.
|
inline |
Definition at line 481 of file LeafBuffer.h.
|
inline |
Definition at line 482 of file LeafBuffer.h.
|
inline |
Definition at line 483 of file LeafBuffer.h.
|
inline |
Definition at line 484 of file LeafBuffer.h.
|
inline |
Definition at line 485 of file LeafBuffer.h.
|
inline |
Return a pointer to the C-style array of words encoding the bits.
Definition at line 511 of file LeafBuffer.h.
|
inline |
Return a const pointer to the C-style array of words encoding the bits.
Definition at line 514 of file LeafBuffer.h.
|
inline |
Definition at line 486 of file LeafBuffer.h.
|
inline |
Definition at line 489 of file LeafBuffer.h.
|
inline |
Definition at line 505 of file LeafBuffer.h.
|
inline |
Definition at line 506 of file LeafBuffer.h.
|
inline |
Definition at line 499 of file LeafBuffer.h.
|
inline |
Definition at line 487 of file LeafBuffer.h.
|
inline |
Definition at line 498 of file LeafBuffer.h.
|
inline |
Definition at line 496 of file LeafBuffer.h.
|
inline |
Definition at line 501 of file LeafBuffer.h.
|
inlinestatic |
Definition at line 507 of file LeafBuffer.h.
|
inline |
Definition at line 503 of file LeafBuffer.h.
Definition at line 518 of file LeafBuffer.h.
|
static |
Definition at line 476 of file LeafBuffer.h.
|
inlinestatic |
Definition at line 479 of file LeafBuffer.h.
|
inlinestatic |
Definition at line 478 of file LeafBuffer.h.
|
static |
Definition at line 475 of file LeafBuffer.h.