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

This class will deserialize an NanoVDB grid into an OpenVDB grid. More...

#include <nanovdb/NanoVDB.h>
#include <nanovdb/util/GridHandle.h>
#include "ForEach.h"
#include <openvdb/openvdb.h>
+ Include dependency graph for NanoToOpenVDB.h:

Go to the source code of this file.

Classes

struct  ConvertTrait< T >
 
struct  ConvertTrait< nanovdb::Vec3< T > >
 
struct  ConvertTrait< nanovdb::Vec4< T > >
 
struct  ConvertTrait< nanovdb::Fp4 >
 
struct  ConvertTrait< nanovdb::Fp8 >
 
struct  ConvertTrait< nanovdb::Fp16 >
 
struct  ConvertTrait< nanovdb::FpN >
 
struct  ConvertTrait< nanovdb::ValueMask >
 
class  nanovdb::NanoToOpenVDB< NanoBuildT >
 This class will serialize an OpenVDB grid into a NanoVDB grid managed by a GridHandle. More...
 

Namespaces

 nanovdb
 

Macros

#define NANOVDB_NANOTOOPENVDB_H_HAS_BEEN_INCLUDED
 

Functions

template<typename NanoBuildT >
openvdb::Grid< typename
openvdb::tree::Tree4< typename
ConvertTrait< NanoBuildT >
::Type >::Type >::Ptr 
nanovdb::nanoToOpenVDB (const NanoGrid< NanoBuildT > &grid, int verbose=0)
 Forward declaration of free-standing function that de-serializes a typed NanoVDB grid into an OpenVDB Grid. More...
 
template<typename BufferT >
openvdb::GridBase::Ptr nanovdb::nanoToOpenVDB (const GridHandle< BufferT > &handle, int verbose=0, uint32_t n=0)
 Forward declaration of free-standing function that de-serializes a NanoVDB GridHandle into an OpenVDB GridBase. More...
 

Detailed Description

This class will deserialize an NanoVDB grid into an OpenVDB grid.

Author
Ken Museth
Date
May 6, 2020
Todo:
Add support for PointIndexGrid and PointDataGrid

Definition in file NanoToOpenVDB.h.

Macro Definition Documentation

#define NANOVDB_NANOTOOPENVDB_H_HAS_BEEN_INCLUDED

Definition at line 23 of file NanoToOpenVDB.h.