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

#include <NDimsHistogram.h>

Public Member Functions

void SetNumOfDataPoints (vtkm::Id _numDataPoints)
 
template<typename HandleType >
void AddField (const HandleType &fieldArray, vtkm::Id numberOfBins, vtkm::Range &rangeOfValues, vtkm::Float64 &binDelta)
 
template<typename HandleType >
void AddField (const HandleType &fieldArray, vtkm::Id numberOfBins, vtkm::Range &rangeOfValues, vtkm::Float64 &binDelta, bool rangeProvided)
 
void Run (std::vector< vtkm::cont::ArrayHandle< vtkm::Id >> &binId, vtkm::cont::ArrayHandle< vtkm::Id > &freqs)
 

Private Attributes

std::vector< vtkm::IdNumberOfBins
 
vtkm::cont::ArrayHandle< vtkm::IdBin1DIndex
 
vtkm::Id NumDataPoints
 

Member Function Documentation

◆ AddField() [1/2]

template<typename HandleType >
void vtkm::worklet::NDimsHistogram::AddField ( const HandleType &  fieldArray,
vtkm::Id  numberOfBins,
vtkm::Range rangeOfValues,
vtkm::Float64 binDelta 
)
inline

◆ AddField() [2/2]

template<typename HandleType >
void vtkm::worklet::NDimsHistogram::AddField ( const HandleType &  fieldArray,
vtkm::Id  numberOfBins,
vtkm::Range rangeOfValues,
vtkm::Float64 binDelta,
bool  rangeProvided 
)
inline

◆ Run()

void vtkm::worklet::NDimsHistogram::Run ( std::vector< vtkm::cont::ArrayHandle< vtkm::Id >> &  binId,
vtkm::cont::ArrayHandle< vtkm::Id > &  freqs 
)
inline

◆ SetNumOfDataPoints()

void vtkm::worklet::NDimsHistogram::SetNumOfDataPoints ( vtkm::Id  _numDataPoints)
inline

Member Data Documentation

◆ Bin1DIndex

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::NDimsHistogram::Bin1DIndex
private

◆ NumberOfBins

std::vector<vtkm::Id> vtkm::worklet::NDimsHistogram::NumberOfBins
private

◆ NumDataPoints

vtkm::Id vtkm::worklet::NDimsHistogram::NumDataPoints
private

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