VTK-m
2.2
|
A scatter that maps input directly to output. More...
#include <ScatterIdentity.h>
Public Types | |
using | OutputToInputMapType = vtkm::cont::ArrayHandleIndex |
using | VisitArrayType = vtkm::cont::ArrayHandleConstant< vtkm::IdComponent > |
Public Member Functions | |
OutputToInputMapType | GetOutputToInputMap (vtkm::Id inputRange) const |
OutputToInputMapType | GetOutputToInputMap (vtkm::Id3 inputRange) const |
VisitArrayType | GetVisitArray (vtkm::Id inputRange) const |
VisitArrayType | GetVisitArray (vtkm::Id3 inputRange) const |
template<typename RangeType > | |
RangeType | GetOutputRange (RangeType inputRange) const |
A scatter that maps input directly to output.
The Scatter
classes are responsible for defining how much output is generated based on some sized input. ScatterIdentity
establishes a 1 to 1 mapping from input to output (and vice versa). That is, every input element generates one output element associated with it. This is the default for basic maps.
using vtkm::worklet::ScatterIdentity::VisitArrayType = vtkm::cont::ArrayHandleConstant<vtkm::IdComponent> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |