OpenVDB
12.0.0
|
Defines GridHandle, which manages a host, and possibly a device, memory buffer containing one or more NanoVDB grids. More...
#include <fstream>
#include <iostream>
#include <vector>
#include <initializer_list>
#include <nanovdb/NanoVDB.h>
#include <nanovdb/HostBuffer.h>
#include <nanovdb/tools/GridChecksum.h>
Go to the source code of this file.
Classes | |
struct | GridHandleMetaData |
class | GridHandle< BufferT > |
This class serves to manage a buffer containing one or more NanoVDB Grids. More... | |
Namespaces | |
nanovdb | |
Functions | |
__hostdev__ void | cpyGridHandleMeta (const GridData *data, GridHandleMetaData *meta) |
template<typename BufferT , template< class, class... > class VectorT = std::vector> | |
VectorT< GridHandle< BufferT > > | splitGrids (const GridHandle< BufferT > &handle, const BufferT *other=nullptr) |
Split all grids in a single GridHandle into a vector of multiple GridHandles each with a single grid. More... | |
template<typename BufferT , template< class, class... > class VectorT> | |
GridHandle< BufferT > | mergeGrids (const VectorT< GridHandle< BufferT >> &handles, const BufferT *pool=nullptr) |
Combines (or merges) multiple GridHandles into a single GridHandle containing all grids. More... | |
Defines GridHandle, which manages a host, and possibly a device, memory buffer containing one or more NanoVDB grids.