VTK-m
2.0
|
A scatter that maps input to some constant numbers of output. More...
#include <ScatterUniform.h>
Public Types | |
using | OutputToInputMapType = vtkm::cont::ArrayHandleImplicit< detail::FunctorDiv< NumOutputsPerInput > > |
using | VisitArrayType = vtkm::cont::ArrayHandleImplicit< detail::FunctorModulus< NumOutputsPerInput > > |
Public Member Functions | |
VTKM_CONT | ScatterUniform ()=default |
VTKM_CONT vtkm::Id | GetOutputRange (vtkm::Id inputRange) const |
VTKM_CONT vtkm::Id | GetOutputRange (vtkm::Id3 inputRange) const |
template<typename RangeType > | |
VTKM_CONT OutputToInputMapType | GetOutputToInputMap (RangeType inputRange) const |
template<typename RangeType > | |
VTKM_CONT VisitArrayType | GetVisitArray (RangeType inputRange) const |
A scatter that maps input to some constant numbers of output.
The Scatter
classes are responsible for defining how much output is generated based on some sized input. ScatterUniform
establishes a 1 to N mapping from input to output. That is, every input element generates N elements associated with it where N is the same for every input. The output elements are grouped by the input associated.
using vtkm::worklet::ScatterUniform< NumOutputsPerInput >::OutputToInputMapType = vtkm::cont::ArrayHandleImplicit<detail::FunctorDiv<NumOutputsPerInput> > |
using vtkm::worklet::ScatterUniform< NumOutputsPerInput >::VisitArrayType = vtkm::cont::ArrayHandleImplicit<detail::FunctorModulus<NumOutputsPerInput> > |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |