OpenVDB: NanoToOpenVDB< ValueType > Class Template Reference

OpenVDB 9.0.0

Public Member Functions | List of all members
NanoToOpenVDB< ValueType > Class Template Reference

This class will serialize an OpenVDB grid into a NanoVDB grid managed by a GridHandle. More...

`#include <nanovdb/util/NanoToOpenVDB.h>`

## Public Member Functions
| NanoToOpenVDB ()
| Construction from an existing const OpenVDB Grid. More...
DstGridT::Ptr | operator() (const NanoGrid< ValueType > &grid, int verbose=0)
| Return a shared pointer to a NanoVDB grid constructed from the specified OpenVDB grid. More...

## Detailed Description

template<typename ValueType>
class nanovdb::NanoToOpenVDB< ValueType >

This class will serialize an OpenVDB grid into a NanoVDB grid managed by a GridHandle.

## Constructor & Destructor Documentation

## ◆ NanoToOpenVDB()

NanoToOpenVDB | ( |  | ) |
| inline

Construction from an existing const OpenVDB Grid.

## Member Function Documentation

## ◆ operator()()

NanoToOpenVDB< T >::DstGridT::Ptr operator() | ( | const NanoGrid< ValueType > & | grid,
|  | int | verbose = `0`
| ) |  |

Return a shared pointer to a NanoVDB grid constructed from the specified OpenVDB grid.