Go to the documentation of this file.
18 #ifndef viskores_worklet_MaskIndices_h
19 #define viskores_worklet_MaskIndices_h
62 template <
typename T,
typename S>
73 template <
typename RangeType>
79 template <
typename RangeType>
91 #endif //viskores_worklet_MaskIndices_h
Mask using a given array of indices to include in the output.
Definition: MaskIndices.h:38
MaskIndices(const viskores::cont::ArrayHandle< T, S > &indexArray, viskores::cont::DeviceAdapterId device=viskores::cont::DeviceAdapterTagAny())
Construct using an index array.
Definition: MaskIndices.h:63
#define viskoresNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:136
ThreadToOutputMapType ThreadToOutputMap
Definition: MaskIndices.h:86
Tag for a device adapter used to specify that any device may be used for an operation.
Definition: DeviceAdapterTag.h:194
static bool Copy(viskores::cont::DeviceAdapterId devId, const viskores::cont::ArrayHandle< T, CIn > &input, viskores::cont::ArrayHandle< U, COut > &output)
Definition: Algorithm.h:422
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::Id GetThreadRange(RangeType) const
Definition: MaskIndices.h:74
viskores::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:482
MaskIndices(const viskores::cont::ArrayHandle< viskores::Id > &indexArray, viskores::cont::DeviceAdapterId=viskores::cont::DeviceAdapterTagAny())
Construct using an index array.
Definition: MaskIndices.h:55
An object used to specify a device.
Definition: DeviceAdapterTag.h:66
ThreadToOutputMapType GetThreadToOutputMap(RangeType) const
Definition: MaskIndices.h:80