Go to the documentation of this file.
18 #ifndef viskores_worklet_MaskSelect_h
19 #define viskores_worklet_MaskSelect_h
41 class VISKORES_WORKLET_EXPORT
MaskSelect :
public internal::MaskBase
57 this->ThreadToOutputMap = this->Build(maskArray, device);
60 template <
typename RangeType>
63 return this->ThreadToOutputMap.GetNumberOfValues();
66 template <
typename RangeType>
69 return this->ThreadToOutputMap;
81 #endif //viskores_worklet_MaskSelect_h
int8_t Int8
Base type to use for 8-bit signed integer numbers.
Definition: Types.h:173
#define viskoresNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:136
Tag for a device adapter used to specify that any device may be used for an operation.
Definition: DeviceAdapterTag.h:194
ThreadToOutputMapType ThreadToOutputMap
Definition: MaskSelect.h:73
A template used to hold a list of types.
Definition: List.h:47
signed long long Int64
Base type to use for 64-bit signed integer numbers.
Definition: Types.h:212
viskores::Id GetThreadRange(RangeType) const
Definition: MaskSelect.h:61
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
Mask using arrays to select specific elements to suppress.
Definition: MaskSelect.h:41
#define VISKORES_CONT
Definition: ExportMacros.h:65
MaskSelect(const viskores::cont::UnknownArrayHandle &maskArray, viskores::cont::DeviceAdapterId device=viskores::cont::DeviceAdapterTagAny())
Definition: MaskSelect.h:54
Groups connected points that have the same field value.
Definition: Atomic.h:27
unsigned long long UInt64
Base type to use for 64-bit signed integer numbers.
Definition: Types.h:215
uint8_t UInt8
Base type to use for 8-bit unsigned integer numbers.
Definition: Types.h:177
An object used to specify a device.
Definition: DeviceAdapterTag.h:66
int32_t Int32
Base type to use for 32-bit signed integer numbers.
Definition: Types.h:189
ThreadToOutputMapType GetThreadToOutputMap(RangeType) const
Definition: MaskSelect.h:67
An ArrayHandle of an unknown value type and storage.
Definition: UnknownArrayHandle.h:451
uint32_t UInt32
Base type to use for 32-bit unsigned integer numbers.
Definition: Types.h:193