HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT > Class Template Reference

#include <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
 

Detailed Description

template<typename GridT, typename MaskT, typename SamplerT = tools::BoxSampler, typename FloatT = float>
class openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >

Definition at line 570 of file Interpolation.h.

Member Typedef Documentation

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
using openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::AccT = typename MaskType::ConstAccessor
protected

Definition at line 599 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
using openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::FloatType = FloatT

Definition at line 578 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
using openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::GridType = GridT

Definition at line 575 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
using openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::MaskType = MaskT

Definition at line 576 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
using openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::SamlerType = SamplerT

Definition at line 577 of file Interpolation.h.

Constructor & Destructor Documentation

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::AlphaMask ( const GridT &  grid,
const MaskT &  mask,
FloatT  min,
FloatT  max,
bool  invert 
)
inline

Definition at line 580 of file Interpolation.h.

Member Function Documentation

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
bool openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::operator() ( const Coord &  xyz,
FloatT &  a,
FloatT &  b 
) const
inline

Definition at line 590 of file Interpolation.h.

Member Data Documentation

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
AccT openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::mAcc
protected

Definition at line 600 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
const bool openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::mInvert
protected

Definition at line 603 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
const FloatT openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::mInvNorm
protected

Definition at line 602 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
const FloatT openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::mMin
protected

Definition at line 602 of file Interpolation.h.

template<typename GridT , typename MaskT , typename SamplerT = tools::BoxSampler, typename FloatT = float>
tools::DualGridSampler<AccT, SamplerT> openvdb::OPENVDB_VERSION_NAME::tools::AlphaMask< GridT, MaskT, SamplerT, FloatT >::mSampler
protected

Definition at line 601 of file Interpolation.h.


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