#include <nanovdb/util/GridHandle.h>
|
| virtual | ~GridHandleBase () |
| |
| virtual uint64_t | size () const =0 |
| | Returns the size in bytes of the raw memory buffer managed by this GridHandle's allocator.
|
| |
| 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.
|
| |
| | operator bool () const |
| | Return true if this handle contains a grid.
|
| |
| const GridMetaData * | gridMetaData () const |
| | Returns a const point to the grid meta data (see definition above).
|
| |
| GridType | gridType () const |
| | Returns the GridType handled by this instance, and GridType::End if empty.
|
| |
| uint32_t | gridCount () const |
| | Return the number of grids contained in this buffer.
|
| |
◆ ~GridHandleBase()
◆ data() [1/2]
| virtual const uint8_t * data |
( |
| ) |
const |
|
pure virtual |
◆ data() [2/2]
| virtual uint8_t * data |
( |
| ) |
|
|
pure virtual |
◆ empty()
Return true if this handle is empty, i.e. has no allocated memory.
◆ gridCount()
| uint32_t gridCount |
( |
| ) |
const |
|
inline |
Return the number of grids contained in this buffer.
◆ gridMetaData()
Returns a const point to the grid meta data (see definition above).
- Warning
- Note that the return pointer can be NULL if the GridHandle was not initialized
◆ gridType()
Returns the GridType handled by this instance, and GridType::End if empty.
◆ operator bool()
Return true if this handle contains a grid.
◆ size()
| virtual uint64_t size |
( |
| ) |
const |
|
pure virtual |