Go to the documentation of this file.
10 #ifndef vtk_m_worklet_MaskSelect_h
11 #define vtk_m_worklet_MaskSelect_h
14 #include <vtkm/worklet/vtkm_worklet_export.h>
33 class VTKM_WORKLET_EXPORT
MaskSelect :
public internal::MaskBase
44 this->ThreadToOutputMap = this->Build(maskArray, device);
47 template <
typename RangeType>
50 return this->ThreadToOutputMap.GetNumberOfValues();
53 template <
typename RangeType>
56 return this->ThreadToOutputMap;
68 #endif //vtk_m_worklet_MaskSelect_h
MaskSelect(const vtkm::cont::UnknownArrayHandle &maskArray, vtkm::cont::DeviceAdapterId device=vtkm::cont::DeviceAdapterTagAny())
Definition: MaskSelect.h:41
Groups connected points that have the same field value.
Definition: Atomic.h:19
An ArrayHandle of an unknown value type and storage.
Definition: UnknownArrayHandle.h:406
ThreadToOutputMapType ThreadToOutputMap
Definition: MaskSelect.h:60
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
#define VTKM_CONT
Definition: ExportMacros.h:57
Mask using arrays to select specific elements to suppress.
Definition: MaskSelect.h:33
#define vtkmNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:128
ThreadToOutputMapType GetThreadToOutputMap(RangeType vtkmNotUsed(outputRange)) const
Definition: MaskSelect.h:54
Definition: DeviceAdapterTag.h:52
vtkm::Id GetThreadRange(RangeType vtkmNotUsed(outputRange)) const
Definition: MaskSelect.h:48