OpenVDB: nanovdb/GridHandle.h File Reference

OpenVDB 12.1.0

Loading...
Searching...
No Matches
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/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
namespace | nanovdb

## Functions
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.
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.

## 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