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
ThreadToOutputMapType ThreadToOutputMap
Definition: MaskIndices.h:77
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:468
vtkm::Id GetThreadRange(RangeType) const
Definition: MaskIndices.h:65
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
Tag for a device adapter used to specify that any device may be used for an operation.
Definition: DeviceAdapterTag.h:180
#define vtkmNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:128
static bool Copy(vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< U, COut > &output)
Definition: Algorithm.h:411
An object used to specify a device.
Definition: DeviceAdapterTag.h:58
MaskIndices(const vtkm::cont::ArrayHandle< T, S > &indexArray, vtkm::cont::DeviceAdapterId device=vtkm::cont::DeviceAdapterTagAny())
Construct using an index array.
Definition: MaskIndices.h:55
ThreadToOutputMapType GetThreadToOutputMap(RangeType) const
Definition: MaskIndices.h:71
Mask using a given array of indices to include in the output.
Definition: MaskIndices.h:30
MaskIndices(const vtkm::cont::ArrayHandle< vtkm::Id > &indexArray, vtkm::cont::DeviceAdapterId=vtkm::cont::DeviceAdapterTagAny())
Construct using an index array.
Definition: MaskIndices.h:47