HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::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

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

Detailed Description

template<typename>
template<typename OtherValueType>
struct openvdb::OPENVDB_VERSION_NAME::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".

Definition at line 530 of file Grid.h.

Member Typedef Documentation

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

Definition at line 531 of file Grid.h.


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