OpenVDB  3.2.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

§ AccT

typedef MaskType::ConstAccessor AccT
protected

§ FloatType

typedef FloatT FloatType

§ GridType

typedef GridT GridType

§ MaskType

typedef MaskT MaskType

§ SamlerType

typedef SamplerT SamlerType

Constructor & Destructor Documentation

§ AlphaMask()

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

Member Function Documentation

§ BOOST_STATIC_ASSERT()

BOOST_STATIC_ASSERT ( boost::is_floating_point< FloatT >::value  )

§ operator()()

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

Member Data Documentation

§ mAcc

AccT mAcc
protected

§ mInvert

const bool mInvert
protected

§ mInvNorm

const FloatT mInvNorm
protected

§ mMin

const FloatT mMin
protected

§ mSampler

tools::DualGridSampler<AccT, SamplerT> mSampler
protected

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