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

#include <Interpolation.h>

Public Types

typedef GridT GridType
 
typedef MaskT MaskType
 
typedef SamplerT SamlerType
 
typedef FloatT FloatType
 

Public Member Functions

 BOOST_STATIC_ASSERT (boost::is_floating_point< FloatT >::value)
 
 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

typedef MaskType::ConstAccessor AccT
 

Protected Attributes

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

Member Typedef Documentation

typedef MaskType::ConstAccessor AccT
protected
typedef FloatT FloatType
typedef GridT GridType
typedef MaskT MaskType
typedef SamplerT SamlerType

Constructor & Destructor Documentation

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

Member Function Documentation

BOOST_STATIC_ASSERT ( boost::is_floating_point< FloatT >::value  )
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

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