OpenVDB: ToMaskGrid< GridType > Struct Template Reference

OpenVDB 10.0.1

Public Types | List of all members
ToMaskGrid< GridType > Struct Template Reference

ToMaskGrid<T>::Type is the type of a grid having the same tree hierarchy as grid type T but a value equal to its active state. More...

`#include <openvdb/tools/GridOperators.h>`

## Public Types
typedef Grid< typename GridType::TreeType::template ValueConverter< ValueMask >::Type > | Type

## Detailed Description

template<typename GridType>
struct openvdb::v10_0::tools::gridop::ToMaskGrid< GridType >

ToMaskGrid<T>::Type is the type of a grid having the same tree hierarchy as grid type T but a value equal to its active state.

For example, ToMaskGrid<FloatGrid>::Type is equivalent to MaskGrid.

## Member Typedef Documentation

## ◆ Type

typedef Grid<typename GridType::TreeType::template ValueConverter<ValueMask>::Type> Type