|
OpenVDB
2.3.0
|
Stores the actual values in the LeafNode. Its dimension it fixed to 2^(3*Log2Dim) More...
#include <LeafNode.h>
Public Member Functions | |
| Buffer () | |
| Empty default constructor. More... | |
| Buffer (const ValueType &val) | |
| Constructs a buffer populated with the specified value. More... | |
| Buffer (const Buffer &other) | |
| Copy constructor. More... | |
| ~Buffer () | |
| Destructor. More... | |
| void | fill (const ValueType &val) |
| Populates the buffer with a constant value. More... | |
| const ValueType & | getValue (Index i) const |
| Return a const reference to the i'th element of the Buffer. More... | |
| const ValueType & | operator[] (Index i) const |
| Return a const reference to the i'th element of the Buffer. More... | |
| void | setValue (Index i, const ValueType &val) |
| Set the i'th value of the Buffer to the specified value. More... | |
| Buffer & | operator= (const Buffer &other) |
| Assigns the values in the other Buffer to this Buffer. More... | |
| bool | operator== (const Buffer &other) const |
| bool | operator!= (const Buffer &other) const |
| void | swap (Buffer &other) |
| Replace the values in this Buffer with the values in the other Buffer. More... | |
Static Public Member Functions | |
| static Index | memUsage () |
| Return the memory-footprint of this Buffer in units of bytes. More... | |
| static Index | size () |
| Return the number of values represented in this Buffer. More... | |
Friends | |
| class | ::TestLeaf |
| class | LeafNode |
Stores the actual values in the LeafNode. Its dimension it fixed to 2^(3*Log2Dim)
|
inline |
Empty default constructor.
|
inline |
Destructor.
|
inline |
Populates the buffer with a constant value.
Return a const reference to the i'th element of the Buffer.
|
inlinestatic |
Return the memory-footprint of this Buffer in units of bytes.
|
inline |
Return true if any of the values in the other buffer do not exactly equate the values in this buffer
|
inline |
Return true if the values in the other buffer exactly equates the values in this buffer
Return a const reference to the i'th element of the Buffer.
Set the i'th value of the Buffer to the specified value.
|
inline |
|
friend |
|
friend |
1.8.7