VTK-m
2.0
|
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 | |
VTKM_CONT OutputToInputMapType | GetOutputToInputMap (vtkm::Id inputRange) const |
VTKM_CONT OutputToInputMapType | GetOutputToInputMap (vtkm::Id3 inputRange) const |
VTKM_CONT VisitArrayType | GetVisitArray (vtkm::Id inputRange) const |
VTKM_CONT VisitArrayType | GetVisitArray (vtkm::Id3 inputRange) const |
template<typename RangeType > | |
VTKM_CONT 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 |