OpenVDB  2.0.0
Public Types | List of all members
Grid< typename >::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

typedef Grid< typename
TreeType::template
ValueConverter< OtherValueType >
::Type
Type
 

Detailed Description

template<typename>
template<typename OtherValueType>
struct openvdb::v2_0_0::Grid< typename >::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

typedef Grid<typename TreeType::template ValueConverter<OtherValueType>::Type> Type

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