OpenVDB: NanoToOpenVDB< NanoBuildT > Class Template Reference

OpenVDB 10.0.1

Loading...
Searching...
No Matches
Public Member Functions | List of all members
NanoToOpenVDB< NanoBuildT > 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.
OpenGridT::Ptr | operator() (const NanoGrid< NanoBuildT > &grid, int verbose=0)
| Return a shared pointer to a NanoVDB grid constructed from the specified OpenVDB grid.
template<typename SrcNodeT , typename DstNodeT >
DstNodeT * | processNode (const SrcNodeT *srcNode)

## Detailed Description

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

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< NanoBuildT >::OpenGridT::Ptr operator() | ( | const NanoGrid< NanoBuildT > & | grid,
|  | int | verbose = `0`
| ) |  |

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

## ◆ processNode()

DstNodeT * processNode | ( | const SrcNodeT * | srcNode | ) |