OpenVDB: ToMaskGrid< GridType > Struct Template Reference

OpenVDB 10.1.0

Loading...
Searching...
No Matches
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_1::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

template<typename GridType >

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