Go to the documentation of this file.
11 #ifndef vtk_m_worklet_NDimsHistogram_h
12 #define vtk_m_worklet_NDimsHistogram_h
47 template <
typename HandleType>
69 template <
typename HandleType>
86 Bin1DIndex, numberOfBins, rangeOfValues, binDelta, rangeProvided));
117 convertHistBinToNDDispatcher(binWorklet);
118 size_t vectorId =
static_cast<size_t>(i);
131 #endif // vtk_m_worklet_NDimsHistogram_h
vtkm::cont::ArrayHandle< vtkm::Id > Bin1DIndex
Definition: NDimsHistogram.h:125
Groups connected points that have the same field value.
Definition: Atomic.h:19
static VTKM_CONT void Sort(vtkm::cont::DeviceAdapterId devId, vtkm::cont::ArrayHandle< T, Storage > &values)
Definition: Algorithm.h:965
std::vector< vtkm::Id > NumberOfBins
Definition: NDimsHistogram.h:124
void CastAndCall(const DynamicObject &dynamicObject, Functor &&f, Args &&... args)
A Generic interface to CastAndCall.
Definition: CastAndCall.h:47
void SetNumOfDataPoints(vtkm::Id _numDataPoints)
Definition: NDimsHistogram.h:35
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Definition: ComputeNDHistogram.h:139
Dispatcher for worklets that inherit from WorkletMapField.
Definition: DispatcherMapField.h:25
void ArrayCopy(const SourceArrayType &source, DestArrayType &destination)
Does a deep copy from one array to another array.
Definition: ArrayCopy.h:142
void Run(std::vector< vtkm::cont::ArrayHandle< vtkm::Id >> &binId, vtkm::cont::ArrayHandle< vtkm::Id > &freqs)
Definition: NDimsHistogram.h:99
An array handle with a constant value.
Definition: ArrayHandleConstant.h:63
Definition: NDimsHistogram.h:32
static VTKM_CONT void ReduceByKey(vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CKeyIn > &keys, const vtkm::cont::ArrayHandle< U, CValIn > &values, vtkm::cont::ArrayHandle< T, CKeyOut > &keys_output, vtkm::cont::ArrayHandle< U, CValOut > &values_output, BinaryFunctor binary_functor)
Definition: Algorithm.h:697
This class is thrown when a VTKm function or method encounters an invalid value that inhibits progres...
Definition: ErrorBadValue.h:25
void AddField(const HandleType &fieldArray, vtkm::Id numberOfBins, vtkm::Range &rangeOfValues, vtkm::Float64 &binDelta)
Definition: NDimsHistogram.h:48
void AddField(const HandleType &fieldArray, vtkm::Id numberOfBins, vtkm::Range &rangeOfValues, vtkm::Float64 &binDelta, bool rangeProvided)
Definition: NDimsHistogram.h:70
double Float64
Definition: Types.h:155
vtkm::Id NumDataPoints
Definition: NDimsHistogram.h:126
Definition: ComputeNDHistogram.h:81
Represent a continuous scalar range of values.
Definition: Range.h:31