VTK-m  2.0
Public Member Functions | Private Attributes | List of all members
vtkm::worklet::histogram::ComputeBins Class Reference

#include <ComputeNDHistogram.h>

Public Member Functions

VTKM_CONT ComputeBins (vtkm::cont::ArrayHandle< vtkm::Id > &_bin1DIdx, vtkm::Id &_numOfBins, vtkm::Range &_minMax, vtkm::Float64 &_binDelta)
 
VTKM_CONT ComputeBins (vtkm::cont::ArrayHandle< vtkm::Id > &_bin1DIdx, vtkm::Id &_numOfBins, vtkm::Range &_minMax, vtkm::Float64 &_binDelta, bool _rangeProvided)
 
template<typename T , typename Storage >
VTKM_CONT void operator() (const vtkm::cont::ArrayHandle< T, Storage > &field) const
 

Private Attributes

vtkm::cont::ArrayHandle< vtkm::Id > & Bin1DIdx
 
vtkm::IdNumOfBins
 
vtkm::RangeMinMax
 
vtkm::Float64BinDelta
 
bool RangeProvided
 

Constructor & Destructor Documentation

◆ ComputeBins() [1/2]

VTKM_CONT vtkm::worklet::histogram::ComputeBins::ComputeBins ( vtkm::cont::ArrayHandle< vtkm::Id > &  _bin1DIdx,
vtkm::Id _numOfBins,
vtkm::Range _minMax,
vtkm::Float64 _binDelta 
)
inline

◆ ComputeBins() [2/2]

VTKM_CONT vtkm::worklet::histogram::ComputeBins::ComputeBins ( vtkm::cont::ArrayHandle< vtkm::Id > &  _bin1DIdx,
vtkm::Id _numOfBins,
vtkm::Range _minMax,
vtkm::Float64 _binDelta,
bool  _rangeProvided 
)
inline

Member Function Documentation

◆ operator()()

template<typename T , typename Storage >
VTKM_CONT void vtkm::worklet::histogram::ComputeBins::operator() ( const vtkm::cont::ArrayHandle< T, Storage > &  field) const
inline

Member Data Documentation

◆ Bin1DIdx

vtkm::cont::ArrayHandle<vtkm::Id>& vtkm::worklet::histogram::ComputeBins::Bin1DIdx
private

◆ BinDelta

vtkm::Float64& vtkm::worklet::histogram::ComputeBins::BinDelta
private

◆ MinMax

vtkm::Range& vtkm::worklet::histogram::ComputeBins::MinMax
private

◆ NumOfBins

vtkm::Id& vtkm::worklet::histogram::ComputeBins::NumOfBins
private

◆ RangeProvided

bool vtkm::worklet::histogram::ComputeBins::RangeProvided
private

The documentation for this class was generated from the following file: