VTK-m  2.0
Classes | Functions
vtkm::worklet::spatialstructure Namespace Reference

Classes

struct  CalculateSplitDirectionFlag
 
struct  CellRangesExtracter
 
struct  FilterRanges
 
struct  FilterRanges< false >
 
struct  FilterRanges< true >
 
struct  Invert
 
struct  LEQWorklet
 
struct  NonSplitIndexCalculator
 
struct  RangeAdd
 
struct  Scatter
 
struct  SegmentSplitter
 
struct  SplitIndicesCalculator
 
struct  SplitPlaneCalculatorWorklet
 
struct  SplitProperties
 
struct  SplitPropertiesCalculator
 
struct  SplitSelector
 
struct  TreeLevelAdder
 
struct  TreeNode
 

Functions

template<typename ValueArrayHandle , typename IndexArrayHandle >
ValueArrayHandle ScatterArray (const ValueArrayHandle &input, const IndexArrayHandle &indices)
 
template<typename T , class BinaryFunctor >
vtkm::cont::ArrayHandle< T > ReverseScanInclusiveByKey (const vtkm::cont::ArrayHandle< T > &keys, const vtkm::cont::ArrayHandle< T > &values, BinaryFunctor binaryFunctor)
 
template<typename T , typename U >
vtkm::cont::ArrayHandle< T > CopyIfArray (const vtkm::cont::ArrayHandle< T > &input, const vtkm::cont::ArrayHandle< U > &stencil)
 

Function Documentation

◆ CopyIfArray()

template<typename T , typename U >
vtkm::cont::ArrayHandle<T> vtkm::worklet::spatialstructure::CopyIfArray ( const vtkm::cont::ArrayHandle< T > &  input,
const vtkm::cont::ArrayHandle< U > &  stencil 
)

◆ ReverseScanInclusiveByKey()

template<typename T , class BinaryFunctor >
vtkm::cont::ArrayHandle<T> vtkm::worklet::spatialstructure::ReverseScanInclusiveByKey ( const vtkm::cont::ArrayHandle< T > &  keys,
const vtkm::cont::ArrayHandle< T > &  values,
BinaryFunctor  binaryFunctor 
)

◆ ScatterArray()

template<typename ValueArrayHandle , typename IndexArrayHandle >
ValueArrayHandle vtkm::worklet::spatialstructure::ScatterArray ( const ValueArrayHandle &  input,
const IndexArrayHandle &  indices 
)