OpenVDB 13.1.0
Loading...
Searching...
No Matches
MapToOpen< T > Struct Template Reference

Struct that maps all nanovdb types to corresponding openvdb types. More...

#include <nanovdb/tools/NanoToOpenVDB.h>

Public Types

using type = typename BuildToValueMap<T>::type

Detailed Description

template<typename T>
struct nanovdb::tools::trait::MapToOpen< T >

Struct that maps all nanovdb types to corresponding openvdb types.

Template Parameters
TNanoVDB build type, e.g. nanovdb::ValueMask -> openvdb::ValueMask nanovdb::Fp8 -> float, nanovdb::ValueIndex -> uin64_t, float -> float
Note
Since Windows appears to always template instantiate the return_type in enable_if<bool, return_type>, MapToOpen is designed to work for all types T, even types like ValueOnIndex that doesn't have an openvdb analogue!

Member Typedef Documentation

◆ type

template<typename T>
using type = typename BuildToValueMap<T>::type