OpenVDB  5.2.0
Public Types | List of all members
Grid< _TreeType >::ValueConverter< OtherValueType > Struct Template Reference

ValueConverter<T>::Type is the type of a grid having the same hierarchy as this grid but a different value type, T. More...

#include <Grid.h>

Public Types

using Type = Grid< typename TreeType::template ValueConverter< OtherValueType >::Type >
 

Detailed Description

template<typename _TreeType>
template<typename OtherValueType>
struct openvdb::v5_2::Grid< _TreeType >::ValueConverter< OtherValueType >

ValueConverter<T>::Type is the type of a grid having the same hierarchy as this grid but a different value type, T.

For example, FloatGrid::ValueConverter<double>::Type is equivalent to DoubleGrid.

Note
If the source grid type is a template argument, it might be necessary to write "typename SourceGrid::template ValueConverter<T>::Type".

Member Typedef Documentation

using Type = Grid<typename TreeType::template ValueConverter<OtherValueType>::Type>

The documentation for this struct was generated from the following file: