VTK-m  2.0
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkm::worklet::wavelets::WaveletBase Class Reference

#include <WaveletBase.h>

Inheritance diagram for vtkm::worklet::wavelets::WaveletBase:
vtkm::worklet::wavelets::WaveletDWT vtkm::worklet::WaveletCompressor

Classes

struct  maxAbsFunctor
 
struct  maxFunctor
 
struct  minFunctor
 
struct  SortLessAbsFunctor
 

Public Member Functions

 WaveletBase (WaveletName name)
 
vtkm::Id GetApproxLength (vtkm::Id sigInLen)
 
vtkm::Id GetDetailLength (vtkm::Id sigInLen)
 
vtkm::Id GetCoeffLength (vtkm::Id sigInLen)
 
vtkm::Id GetCoeffLength2 (vtkm::Id sigInX, vtkm::Id sigInY)
 
vtkm::Id GetCoeffLength3 (vtkm::Id sigInX, vtkm::Id sigInY, vtkm::Id sigInZ)
 
vtkm::Id GetWaveletMaxLevel (vtkm::Id sigInLen)
 
template<typename ArrayType1 , typename ArrayType2 >
void DeviceCopyStartX (const ArrayType1 &srcArray, ArrayType2 &dstArray, vtkm::Id startIdx)
 
template<typename ArrayType >
void DeviceAssignZero (ArrayType &array, vtkm::Id index)
 
template<typename ArrayType >
void DeviceAssignZero2DRow (ArrayType &array, vtkm::Id dimX, vtkm::Id dimY, vtkm::Id rowIdx)
 
template<typename ArrayType >
void DeviceAssignZero2DColumn (ArrayType &array, vtkm::Id dimX, vtkm::Id dimY, vtkm::Id colIdx)
 
template<typename ArrayType >
void DeviceAssignZero3DPlaneX (ArrayType &array, vtkm::Id dimX, vtkm::Id dimY, vtkm::Id dimZ, vtkm::Id zeroX)
 
template<typename ArrayType >
void DeviceAssignZero3DPlaneY (ArrayType &array, vtkm::Id dimX, vtkm::Id dimY, vtkm::Id dimZ, vtkm::Id zeroY)
 
template<typename ArrayType >
void DeviceAssignZero3DPlaneZ (ArrayType &array, vtkm::Id dimX, vtkm::Id dimY, vtkm::Id dimZ, vtkm::Id zeroZ)
 
template<typename ArrayType >
void DeviceSort (ArrayType &array)
 
template<typename ArrayType >
ArrayType::ValueType DeviceSum (const ArrayType &array)
 
template<typename ArrayType >
ArrayType::ValueType DeviceMax (const ArrayType &array)
 
template<typename ArrayType >
ArrayType::ValueType DeviceMin (const ArrayType &array)
 
template<typename ArrayType >
ArrayType::ValueType DeviceMaxAbs (const ArrayType &array)
 
template<typename ArrayType >
vtkm::Float64 DeviceCalculateVariance (ArrayType &array)
 
template<typename SmallArrayType , typename BigArrayType >
void DeviceRectangleCopyTo (const SmallArrayType &smallRect, vtkm::Id smallX, vtkm::Id smallY, BigArrayType &bigRect, vtkm::Id bigX, vtkm::Id bigY, vtkm::Id startX, vtkm::Id startY)
 
template<typename SmallArrayType , typename BigArrayType >
void DeviceCubeCopyTo (const SmallArrayType &smallCube, vtkm::Id smallX, vtkm::Id smallY, vtkm::Id smallZ, BigArrayType &bigCube, vtkm::Id bigX, vtkm::Id bigY, vtkm::Id bigZ, vtkm::Id startX, vtkm::Id startY, vtkm::Id startZ)
 
template<typename ArrayType >
void Print2DArray (const std::string &str, const ArrayType &arr, vtkm::Id dimX)
 

Protected Member Functions

void WaveLengthValidate (vtkm::Id sigInLen, vtkm::Id filterLength, vtkm::Id &level)
 

Protected Attributes

WaveletName wname
 
DWTMode wmode
 
WaveletFilter filter
 

Constructor & Destructor Documentation

◆ WaveletBase()

vtkm::worklet::wavelets::WaveletBase::WaveletBase ( WaveletName  name)
inline

Member Function Documentation

◆ DeviceAssignZero()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceAssignZero ( ArrayType &  array,
vtkm::Id  index 
)
inline

◆ DeviceAssignZero2DColumn()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceAssignZero2DColumn ( ArrayType &  array,
vtkm::Id  dimX,
vtkm::Id  dimY,
vtkm::Id  colIdx 
)
inline

◆ DeviceAssignZero2DRow()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceAssignZero2DRow ( ArrayType &  array,
vtkm::Id  dimX,
vtkm::Id  dimY,
vtkm::Id  rowIdx 
)
inline

◆ DeviceAssignZero3DPlaneX()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceAssignZero3DPlaneX ( ArrayType &  array,
vtkm::Id  dimX,
vtkm::Id  dimY,
vtkm::Id  dimZ,
vtkm::Id  zeroX 
)
inline

◆ DeviceAssignZero3DPlaneY()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceAssignZero3DPlaneY ( ArrayType &  array,
vtkm::Id  dimX,
vtkm::Id  dimY,
vtkm::Id  dimZ,
vtkm::Id  zeroY 
)
inline

◆ DeviceAssignZero3DPlaneZ()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceAssignZero3DPlaneZ ( ArrayType &  array,
vtkm::Id  dimX,
vtkm::Id  dimY,
vtkm::Id  dimZ,
vtkm::Id  zeroZ 
)
inline

◆ DeviceCalculateVariance()

template<typename ArrayType >
vtkm::Float64 vtkm::worklet::wavelets::WaveletBase::DeviceCalculateVariance ( ArrayType &  array)
inline

◆ DeviceCopyStartX()

template<typename ArrayType1 , typename ArrayType2 >
void vtkm::worklet::wavelets::WaveletBase::DeviceCopyStartX ( const ArrayType1 &  srcArray,
ArrayType2 &  dstArray,
vtkm::Id  startIdx 
)
inline

◆ DeviceCubeCopyTo()

template<typename SmallArrayType , typename BigArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceCubeCopyTo ( const SmallArrayType &  smallCube,
vtkm::Id  smallX,
vtkm::Id  smallY,
vtkm::Id  smallZ,
BigArrayType &  bigCube,
vtkm::Id  bigX,
vtkm::Id  bigY,
vtkm::Id  bigZ,
vtkm::Id  startX,
vtkm::Id  startY,
vtkm::Id  startZ 
)
inline

◆ DeviceMax()

template<typename ArrayType >
ArrayType::ValueType vtkm::worklet::wavelets::WaveletBase::DeviceMax ( const ArrayType &  array)
inline

◆ DeviceMaxAbs()

template<typename ArrayType >
ArrayType::ValueType vtkm::worklet::wavelets::WaveletBase::DeviceMaxAbs ( const ArrayType &  array)
inline

◆ DeviceMin()

template<typename ArrayType >
ArrayType::ValueType vtkm::worklet::wavelets::WaveletBase::DeviceMin ( const ArrayType &  array)
inline

◆ DeviceRectangleCopyTo()

template<typename SmallArrayType , typename BigArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceRectangleCopyTo ( const SmallArrayType &  smallRect,
vtkm::Id  smallX,
vtkm::Id  smallY,
BigArrayType &  bigRect,
vtkm::Id  bigX,
vtkm::Id  bigY,
vtkm::Id  startX,
vtkm::Id  startY 
)
inline

◆ DeviceSort()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::DeviceSort ( ArrayType &  array)
inline

◆ DeviceSum()

template<typename ArrayType >
ArrayType::ValueType vtkm::worklet::wavelets::WaveletBase::DeviceSum ( const ArrayType &  array)
inline

◆ GetApproxLength()

vtkm::Id vtkm::worklet::wavelets::WaveletBase::GetApproxLength ( vtkm::Id  sigInLen)
inline

◆ GetCoeffLength()

vtkm::Id vtkm::worklet::wavelets::WaveletBase::GetCoeffLength ( vtkm::Id  sigInLen)
inline

◆ GetCoeffLength2()

vtkm::Id vtkm::worklet::wavelets::WaveletBase::GetCoeffLength2 ( vtkm::Id  sigInX,
vtkm::Id  sigInY 
)
inline

◆ GetCoeffLength3()

vtkm::Id vtkm::worklet::wavelets::WaveletBase::GetCoeffLength3 ( vtkm::Id  sigInX,
vtkm::Id  sigInY,
vtkm::Id  sigInZ 
)
inline

◆ GetDetailLength()

vtkm::Id vtkm::worklet::wavelets::WaveletBase::GetDetailLength ( vtkm::Id  sigInLen)
inline

◆ GetWaveletMaxLevel()

vtkm::Id vtkm::worklet::wavelets::WaveletBase::GetWaveletMaxLevel ( vtkm::Id  sigInLen)
inline

◆ Print2DArray()

template<typename ArrayType >
void vtkm::worklet::wavelets::WaveletBase::Print2DArray ( const std::string &  str,
const ArrayType &  arr,
vtkm::Id  dimX 
)
inline

◆ WaveLengthValidate()

void vtkm::worklet::wavelets::WaveletBase::WaveLengthValidate ( vtkm::Id  sigInLen,
vtkm::Id  filterLength,
vtkm::Id level 
)
inlineprotected

Member Data Documentation

◆ filter

WaveletFilter vtkm::worklet::wavelets::WaveletBase::filter
protected

◆ wmode

DWTMode vtkm::worklet::wavelets::WaveletBase::wmode
protected

◆ wname

WaveletName vtkm::worklet::wavelets::WaveletBase::wname
protected

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