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

#include <ExtractStructured.h>

Classes

class  CallRun
 

Public Types

using UncertainCellSetStructured = vtkm::cont::UncertainCellSet< vtkm::cont::CellSetListStructured >
 
using UniformCoordinatesArrayHandle = vtkm::cont::ArrayHandleUniformPointCoordinates
 
using RectilinearCoordinatesArrayHandle = vtkm::cont::ArrayHandleCartesianProduct< vtkm::cont::ArrayHandle< vtkm::FloatDefault >, vtkm::cont::ArrayHandle< vtkm::FloatDefault >, vtkm::cont::ArrayHandle< vtkm::FloatDefault > >
 

Public Member Functions

UncertainCellSetStructured Run (const vtkm::cont::CellSetStructured< 1 > &cellset, const vtkm::RangeId3 &voi, const vtkm::Id3 &sampleRate, bool includeBoundary, bool includeOffset)
 
UncertainCellSetStructured Run (const vtkm::cont::CellSetStructured< 2 > &cellset, const vtkm::RangeId3 &voi, const vtkm::Id3 &sampleRate, bool includeBoundary, bool includeOffset)
 
UncertainCellSetStructured Run (const vtkm::cont::CellSetStructured< 3 > &cellset, const vtkm::RangeId3 &voi, const vtkm::Id3 &sampleRate, bool includeBoundary, bool includeOffset)
 
UncertainCellSetStructured Compute (const int dimensionality, const vtkm::Id3 &ptdim, const vtkm::Id3 &offsets, const vtkm::RangeId3 &voi, const vtkm::Id3 &sampleRate, bool includeBoundary, bool includeOffset)
 
template<typename CellSetList >
UncertainCellSetStructured Run (const vtkm::cont::UncertainCellSet< CellSetList > &cellset, const vtkm::RangeId3 &voi, const vtkm::Id3 &sampleRate, bool includeBoundary, bool includeOffset)
 
UniformCoordinatesArrayHandle MapCoordinatesUniform (const UniformCoordinatesArrayHandle &coords) const
 
RectilinearCoordinatesArrayHandle MapCoordinatesRectilinear (const RectilinearCoordinatesArrayHandle &coords) const
 
template<typename T , typename Storage >
vtkm::cont::ArrayHandle< T > ProcessPointField (const vtkm::cont::ArrayHandle< T, Storage > &field) const
 
template<typename T , typename Storage >
vtkm::cont::ArrayHandle< T > ProcessCellField (const vtkm::cont::ArrayHandle< T, Storage > &field) const
 

Private Types

using AxisIndexArrayPoints = vtkm::cont::ArrayHandleImplicit< extractstructured::internal::SubArrayPermutePoints >
 
using PointIndexArray = vtkm::cont::ArrayHandleCartesianProduct< AxisIndexArrayPoints, AxisIndexArrayPoints, AxisIndexArrayPoints >
 
using AxisIndexArrayCells = vtkm::cont::ArrayHandleCounting< vtkm::Id >
 
using CellIndexArray = vtkm::cont::ArrayHandleCartesianProduct< AxisIndexArrayCells, AxisIndexArrayCells, AxisIndexArrayCells >
 

Static Private Member Functions

static AxisIndexArrayPoints MakeAxisIndexArrayPoints (vtkm::Id count, vtkm::Id first, vtkm::Id last, vtkm::Id stride, bool includeBoundary)
 
static AxisIndexArrayCells MakeAxisIndexArrayCells (vtkm::Id count, vtkm::Id start, vtkm::Id stride)
 
static UncertainCellSetStructured MakeCellSetStructured (const vtkm::Id3 &inputPointDims, const vtkm::Id3 &inputOffsets, vtkm::IdComponent forcedDimensionality=0)
 

Private Attributes

vtkm::RangeId3 VOI
 
vtkm::Id3 SampleRate = { 1, 1, 1 }
 
int InputDimensionality
 
vtkm::Id3 InputDimensions
 
vtkm::Id3 OutputDimensions
 
PointIndexArray ValidPoints
 
CellIndexArray ValidCells
 

Member Typedef Documentation

◆ AxisIndexArrayCells

◆ AxisIndexArrayPoints

using vtkm::worklet::ExtractStructured::AxisIndexArrayPoints = vtkm::cont::ArrayHandleImplicit<extractstructured::internal::SubArrayPermutePoints>
private

◆ CellIndexArray

◆ PointIndexArray

◆ RectilinearCoordinatesArrayHandle

◆ UncertainCellSetStructured

◆ UniformCoordinatesArrayHandle

Member Function Documentation

◆ Compute()

UncertainCellSetStructured vtkm::worklet::ExtractStructured::Compute ( const int  dimensionality,
const vtkm::Id3 ptdim,
const vtkm::Id3 offsets,
const vtkm::RangeId3 voi,
const vtkm::Id3 sampleRate,
bool  includeBoundary,
bool  includeOffset 
)
inline

◆ MakeAxisIndexArrayCells()

static AxisIndexArrayCells vtkm::worklet::ExtractStructured::MakeAxisIndexArrayCells ( vtkm::Id  count,
vtkm::Id  start,
vtkm::Id  stride 
)
inlinestaticprivate

◆ MakeAxisIndexArrayPoints()

static AxisIndexArrayPoints vtkm::worklet::ExtractStructured::MakeAxisIndexArrayPoints ( vtkm::Id  count,
vtkm::Id  first,
vtkm::Id  last,
vtkm::Id  stride,
bool  includeBoundary 
)
inlinestaticprivate

◆ MakeCellSetStructured()

static UncertainCellSetStructured vtkm::worklet::ExtractStructured::MakeCellSetStructured ( const vtkm::Id3 inputPointDims,
const vtkm::Id3 inputOffsets,
vtkm::IdComponent  forcedDimensionality = 0 
)
inlinestaticprivate

◆ MapCoordinatesRectilinear()

RectilinearCoordinatesArrayHandle vtkm::worklet::ExtractStructured::MapCoordinatesRectilinear ( const RectilinearCoordinatesArrayHandle coords) const
inline

◆ MapCoordinatesUniform()

UniformCoordinatesArrayHandle vtkm::worklet::ExtractStructured::MapCoordinatesUniform ( const UniformCoordinatesArrayHandle coords) const
inline

◆ ProcessCellField()

template<typename T , typename Storage >
vtkm::cont::ArrayHandle<T> vtkm::worklet::ExtractStructured::ProcessCellField ( const vtkm::cont::ArrayHandle< T, Storage > &  field) const
inline

◆ ProcessPointField()

template<typename T , typename Storage >
vtkm::cont::ArrayHandle<T> vtkm::worklet::ExtractStructured::ProcessPointField ( const vtkm::cont::ArrayHandle< T, Storage > &  field) const
inline

◆ Run() [1/4]

UncertainCellSetStructured vtkm::worklet::ExtractStructured::Run ( const vtkm::cont::CellSetStructured< 1 > &  cellset,
const vtkm::RangeId3 voi,
const vtkm::Id3 sampleRate,
bool  includeBoundary,
bool  includeOffset 
)
inline

◆ Run() [2/4]

UncertainCellSetStructured vtkm::worklet::ExtractStructured::Run ( const vtkm::cont::CellSetStructured< 2 > &  cellset,
const vtkm::RangeId3 voi,
const vtkm::Id3 sampleRate,
bool  includeBoundary,
bool  includeOffset 
)
inline

◆ Run() [3/4]

UncertainCellSetStructured vtkm::worklet::ExtractStructured::Run ( const vtkm::cont::CellSetStructured< 3 > &  cellset,
const vtkm::RangeId3 voi,
const vtkm::Id3 sampleRate,
bool  includeBoundary,
bool  includeOffset 
)
inline

◆ Run() [4/4]

template<typename CellSetList >
UncertainCellSetStructured vtkm::worklet::ExtractStructured::Run ( const vtkm::cont::UncertainCellSet< CellSetList > &  cellset,
const vtkm::RangeId3 voi,
const vtkm::Id3 sampleRate,
bool  includeBoundary,
bool  includeOffset 
)
inline

Member Data Documentation

◆ InputDimensionality

int vtkm::worklet::ExtractStructured::InputDimensionality
private

◆ InputDimensions

vtkm::Id3 vtkm::worklet::ExtractStructured::InputDimensions
private

◆ OutputDimensions

vtkm::Id3 vtkm::worklet::ExtractStructured::OutputDimensions
private

◆ SampleRate

vtkm::Id3 vtkm::worklet::ExtractStructured::SampleRate = { 1, 1, 1 }
private

◆ ValidCells

CellIndexArray vtkm::worklet::ExtractStructured::ValidCells
private

◆ ValidPoints

PointIndexArray vtkm::worklet::ExtractStructured::ValidPoints
private

◆ VOI

vtkm::RangeId3 vtkm::worklet::ExtractStructured::VOI
private

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