Go to the documentation of this file.
10 #ifndef vtk_m_worklet_MaskIndices_h
11 #define vtk_m_worklet_MaskIndices_h
54 template <
typename T,
typename S>
64 template <
typename RangeType>
70 template <
typename RangeType>
82 #endif //vtk_m_worklet_MaskIndices_h
VTKM_CONT vtkm::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:448
ThreadToOutputMapType ThreadToOutputMap
Definition: MaskIndices.h:77
Groups connected points that have the same field value.
Definition: Atomic.h:19
MaskIndices(const vtkm::cont::ArrayHandle< vtkm::Id > &indexArray, vtkm::cont::DeviceAdapterId vtkmNotUsed(device)=vtkm::cont::DeviceAdapterTagAny())
Construct using an index array.
Definition: MaskIndices.h:47
static VTKM_CONT bool Copy(vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< U, COut > &output)
Definition: Algorithm.h:410
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::Id GetThreadRange(RangeType vtkmNotUsed(outputRange)) const
Definition: MaskIndices.h:65
#define vtkmNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:128
Definition: DeviceAdapterTag.h:52
MaskIndices(const vtkm::cont::ArrayHandle< T, S > &indexArray, vtkm::cont::DeviceAdapterId device=vtkm::cont::DeviceAdapterTagAny())
Construct using an index array.
Definition: MaskIndices.h:55
Mask using a given array of indices to include in the output.
Definition: MaskIndices.h:30
ThreadToOutputMapType GetThreadToOutputMap(RangeType vtkmNotUsed(outputRange)) const
Definition: MaskIndices.h:71