OpenVDB  9.0.1
Public Types | List of all members
VectorToScalarConverter< VectorGridType > Struct Template Reference

VectorToScalarConverter<VectorGridType>::Type is the type of a grid having the same tree configuration as VectorGridType but a scalar value type, T, where T is the type of the original vector components. More...

#include <openvdb/tools/GridOperators.h>

Public Types

typedef VectorGridType::ValueType::value_type VecComponentValueT
 
typedef VectorGridType::template ValueConverter< VecComponentValueT >::Type Type
 

Detailed Description

template<typename VectorGridType>
struct openvdb::v9_0::tools::VectorToScalarConverter< VectorGridType >

VectorToScalarConverter<VectorGridType>::Type is the type of a grid having the same tree configuration as VectorGridType but a scalar value type, T, where T is the type of the original vector components.

For example, VectorToScalarConverter<Vec3DGrid>::Type is equivalent to DoubleGrid.

Member Typedef Documentation

typedef VectorGridType::template ValueConverter<VecComponentValueT>::Type Type
typedef VectorGridType::ValueType::value_type VecComponentValueT