OpenVDB: nanovdb/util/OpenToNanoVDB.h File Reference

OpenVDB 10.0.1

Classes | Namespaces | Macros | Functions
OpenToNanoVDB.h File Reference

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

`#include <openvdb/openvdb.h>`
`#include <openvdb/points/PointDataGrid.h>`
`#include <openvdb/util/CpuTimer.h>`
`#include "GridHandle.h"`
`#include "GridChecksum.h"`
`#include "GridStats.h"`
`#include "GridBuilder.h"`
`#include "ForEach.h"`
`#include "Reduce.h"`
`#include "Invoke.h"`
`#include "DitherLUT.h"`
`#include <type_traits>`

Go to the source code of this file.

## Classes
struct | OpenToNanoType< T >
| Converts OpenVDB types to NanoVDB types, e.g. openvdb::Vec3f to nanovdb::Vec3f Template specializations are defined below. More...
struct | OpenToNanoType< openvdb::Coord >
| Template specialization for openvdb::Coord. More...
struct | OpenToNanoType< openvdb::CoordBBox >
| Template specialization for openvdb::CoordBBox. More...
struct | OpenToNanoType< openvdb::math::BBox< T > >
| Template specialization for openvdb::math::BBox. More...
struct | OpenToNanoType< openvdb::math::Vec3< T > >
| Template specialization for openvdb::math::Vec3. More...
struct | OpenToNanoType< openvdb::math::Vec4< T > >
| Template specialization for openvdb::math::Vec4. More...
struct | OpenToNanoType< openvdb::ValueMask >
| Template specialization for openvdb::ValueMask. More...
struct | OpenToNanoType< openvdb::PointIndex32 >
struct | OpenToNanoType< openvdb::PointDataIndex32 >
struct | OpenGridType< BuildT >
| Grid trait that defines OpenVDB grids with the exact same configuration as NanoVDB grids. More...
struct | OpenGridType< openvdb::PointIndex32 >
| Template specialization for the PointIndexGrid. More...
struct | OpenGridType< openvdb::PointDataIndex32 >
| Template specialization for the PointDataGrid. More...
class | OpenToNanoVDB< OpenBuildT, NanoBuildT, OracleT, BufferT >
| This class will convert an OpenVDB grid into a NanoVDB grid managed by a GridHandle. More...
struct | OpenToNanoVDB< OpenBuildT, NanoBuildT, OracleT, BufferT >::BlindMetaData

## Namespaces
namespace | nanovdb

## Macros
#define | NANOVDB_OPENTONANOVDB_H_HAS_BEEN_INCLUDED

## Functions
template<typename BufferT = HostBuffer>
GridHandle< BufferT > | openToNanoVDB (const openvdb::GridBase::Ptr &base, StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, int verbose=0)
| Forward declaration of free-standing function that converts an OpenVDB GridBase into a NanoVDB GridHandle. More...
template<typename BufferT = HostBuffer, typename OpenTreeT = openvdb::FloatTree, typename NanoBuildT = typename OpenToNanoType<typename OpenTreeT::BuildType>::Type>
GridHandle< BufferT > | openToNanoVDB (const openvdb::Grid< OpenTreeT > &grid, StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, int verbose=0)
| Forward declaration of free-standing function that converts a typed OpenVDB Grid into a NanoVDB GridHandle. More...

## Detailed Description

This class will serialize an OpenVDB grid into a NanoVDB grid.

Author
  Ken Museth

Date
  January 8, 2020

## Macro Definition Documentation

## ◆ NANOVDB_OPENTONANOVDB_H_HAS_BEEN_INCLUDED

#define NANOVDB_OPENTONANOVDB_H_HAS_BEEN_INCLUDED