VTK-m  2.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
vtkm::worklet::wavelets::ForwardTransform2D Class Reference

#include <WaveletTransforms.h>

Inheritance diagram for vtkm::worklet::wavelets::ForwardTransform2D:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(WholeArrayIn, WholeArrayIn, WholeArrayIn, WholeArrayIn, WholeArrayIn, WholeArrayOut)
 
using ExecutionSignature = void(_1, _2, _3, _4, _5, _6, WorkIndex)
 
using InputDomain = _6
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

 ForwardTransform2D (vtkm::Id filter_len, vtkm::Id approx_len, bool odd_low, bool mode_lr, vtkm::Id x1, vtkm::Id y1, vtkm::Id x2, vtkm::Id y2, vtkm::Id startx2, vtkm::Id starty2, vtkm::Id pretendx2, vtkm::Id pretendy2, vtkm::Id x3, vtkm::Id y3)
 
VTKM_EXEC_CONT void Output1Dto2D (vtkm::Id idx, vtkm::Id &x, vtkm::Id &y) const
 
VTKM_EXEC_CONT vtkm::Id Output2Dto1D (vtkm::Id x, vtkm::Id y) const
 
template<typename InPortalType1 , typename InPortalType2 , typename InPortalType3 >
VTKM_EXEC_CONT VAL GetVal (const InPortalType1 &portal1, const InPortalType2 &portal2, const InPortalType3 &portal3, vtkm::Id inMatrix, vtkm::Id inIdx) const
 
template<typename InPortalType1 , typename InPortalType2 , typename InPortalType3 , typename FilterPortalType , typename OutputPortalType >
VTKM_EXEC_CONT void operator() (const InPortalType1 &inPortal1, const InPortalType2 &inPortal2, const InPortalType3 &inPortal3, const FilterPortalType &lowFilter, const FilterPortalType &highFilter, OutputPortalType &coeffOut, const vtkm::Id &workIndex) const
 

Private Member Functions

VTKM_EXEC_CONT void SetStartPosition ()
 

Private Attributes

const vtkm::Id filterLen
 
const vtkm::Id approxLen
 
const vtkm::Id outDimX
 
bool oddlow
 
bool modeLR
 
const IndexTranslator3Matrices translator
 
vtkm::Id lstart
 
vtkm::Id hstart
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::wavelets::ForwardTransform2D::ControlSignature = void(WholeArrayIn, WholeArrayIn, WholeArrayIn, WholeArrayIn, WholeArrayIn, WholeArrayOut)

◆ ExecutionSignature

◆ InputDomain

Constructor & Destructor Documentation

◆ ForwardTransform2D()

vtkm::worklet::wavelets::ForwardTransform2D::ForwardTransform2D ( vtkm::Id  filter_len,
vtkm::Id  approx_len,
bool  odd_low,
bool  mode_lr,
vtkm::Id  x1,
vtkm::Id  y1,
vtkm::Id  x2,
vtkm::Id  y2,
vtkm::Id  startx2,
vtkm::Id  starty2,
vtkm::Id  pretendx2,
vtkm::Id  pretendy2,
vtkm::Id  x3,
vtkm::Id  y3 
)
inline

Member Function Documentation

◆ GetVal()

template<typename InPortalType1 , typename InPortalType2 , typename InPortalType3 >
VTKM_EXEC_CONT VAL vtkm::worklet::wavelets::ForwardTransform2D::GetVal ( const InPortalType1 &  portal1,
const InPortalType2 &  portal2,
const InPortalType3 &  portal3,
vtkm::Id  inMatrix,
vtkm::Id  inIdx 
) const
inline

◆ operator()()

template<typename InPortalType1 , typename InPortalType2 , typename InPortalType3 , typename FilterPortalType , typename OutputPortalType >
VTKM_EXEC_CONT void vtkm::worklet::wavelets::ForwardTransform2D::operator() ( const InPortalType1 &  inPortal1,
const InPortalType2 &  inPortal2,
const InPortalType3 &  inPortal3,
const FilterPortalType &  lowFilter,
const FilterPortalType &  highFilter,
OutputPortalType &  coeffOut,
const vtkm::Id workIndex 
) const
inline

◆ Output1Dto2D()

VTKM_EXEC_CONT void vtkm::worklet::wavelets::ForwardTransform2D::Output1Dto2D ( vtkm::Id  idx,
vtkm::Id x,
vtkm::Id y 
) const
inline

◆ Output2Dto1D()

VTKM_EXEC_CONT vtkm::Id vtkm::worklet::wavelets::ForwardTransform2D::Output2Dto1D ( vtkm::Id  x,
vtkm::Id  y 
) const
inline

◆ SetStartPosition()

VTKM_EXEC_CONT void vtkm::worklet::wavelets::ForwardTransform2D::SetStartPosition ( )
inlineprivate

Member Data Documentation

◆ approxLen

const vtkm::Id vtkm::worklet::wavelets::ForwardTransform2D::approxLen
private

◆ filterLen

const vtkm::Id vtkm::worklet::wavelets::ForwardTransform2D::filterLen
private

◆ hstart

vtkm::Id vtkm::worklet::wavelets::ForwardTransform2D::hstart
private

◆ lstart

vtkm::Id vtkm::worklet::wavelets::ForwardTransform2D::lstart
private

◆ modeLR

bool vtkm::worklet::wavelets::ForwardTransform2D::modeLR
private

◆ oddlow

bool vtkm::worklet::wavelets::ForwardTransform2D::oddlow
private

◆ outDimX

const vtkm::Id vtkm::worklet::wavelets::ForwardTransform2D::outDimX
private

◆ translator

const IndexTranslator3Matrices vtkm::worklet::wavelets::ForwardTransform2D::translator
private

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