OpenVDB  9.0.1
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
AlphaMask< GridT, MaskT, SamplerT, FloatT > Class Template Reference

#include <openvdb/tools/Interpolation.h>

Public Types

using GridType = GridT
 
using MaskType = MaskT
 
using SamlerType = SamplerT
 
using FloatType = FloatT
 

Public Member Functions

 AlphaMask (const GridT &grid, const MaskT &mask, FloatT min, FloatT max, bool invert)
 
bool operator() (const Coord &xyz, FloatT &a, FloatT &b) const
 

Protected Types

using AccT = typename MaskType::ConstAccessor
 

Protected Attributes

AccT mAcc
 
tools::DualGridSampler< AccT, SamplerT > mSampler
 
const FloatT mMin
 
const FloatT mInvNorm
 
const bool mInvert
 

Member Typedef Documentation

using AccT = typename MaskType::ConstAccessor
protected
using FloatType = FloatT
using GridType = GridT
using MaskType = MaskT
using SamlerType = SamplerT

Constructor & Destructor Documentation

AlphaMask ( const GridT &  grid,
const MaskT &  mask,
FloatT  min,
FloatT  max,
bool  invert 
)
inline

Member Function Documentation

bool operator() ( const Coord &  xyz,
FloatT &  a,
FloatT &  b 
) const
inline

Member Data Documentation

AccT mAcc
protected
const bool mInvert
protected
const FloatT mInvNorm
protected
const FloatT mMin
protected
tools::DualGridSampler<AccT, SamplerT> mSampler
protected