HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GridHandle.h File Reference

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/util/HostBuffer.h>
#include <nanovdb/util/GridChecksum.h>
+ Include dependency graph for GridHandle.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nanovdb::GridHandleMetaData
 
class  nanovdb::GridHandle< BufferT >
 This class serves to manage a buffer containing one or more NanoVDB Grids. More...
 

Namespaces

 nanovdb
 

Functions

template<typename BufferT , template< class, class...> class VectorT = std::vector>
VectorT< GridHandle< BufferT > > nanovdb::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 > nanovdb::mergeGrids (const VectorT< GridHandle< BufferT >> &handles, const BufferT *pool=nullptr)
 Combines (or merges) multiple GridHandles into a single GridHandle containing all grids. More...
 

Detailed Description

Defines GridHandle, which manages a host, and possibly a device, memory buffer containing one or more NanoVDB grids.

Author
Ken Museth
Date
January 8, 2020

Definition in file GridHandle.h.