OpenVDB
9.0.1
|
#include <nanovdb/util/GridHandle.h>
Inherited by GridHandle< BufferT >.
Public Member Functions | |
virtual | ~GridHandleBase () |
virtual uint64_t | size () const =0 |
Returns the size in bytes of the raw memory buffer managed by this GridHandle's allocator. More... | |
virtual uint8_t * | data ()=0 |
virtual const uint8_t * | data () const =0 |
bool | empty () const |
Return true if this handle is empty, i.e. has no allocated memory. More... | |
operator bool () const | |
Return true if this handle contains a grid. More... | |
const GridMetaData * | gridMetaData () const |
Returns a const point to the grid meta data (see definition above). More... | |
GridType | gridType () const |
Returns the GridType handled by this instance, and GridType::End if empty. More... | |
uint32_t | gridCount () const |
Return the number of grids contained in this buffer. More... | |
|
inlinevirtual |
|
pure virtual |
Implemented in GridHandle< BufferT >.
|
pure virtual |
Implemented in GridHandle< BufferT >.
|
inline |
Return true if this handle is empty, i.e. has no allocated memory.
|
inline |
Return the number of grids contained in this buffer.
|
inline |
Returns a const point to the grid meta data (see definition above).
|
inline |
Returns the GridType handled by this instance, and GridType::End if empty.
|
inline |
Return true if this handle contains a grid.
|
pure virtual |
Returns the size in bytes of the raw memory buffer managed by this GridHandle's allocator.
Implemented in GridHandle< BufferT >.