23#ifndef vtkmNDHistogram_h
24#define vtkmNDHistogram_h
30#include "vtkAcceleratorsVTKmFiltersModule.h"
34VTK_ABI_NAMESPACE_BEGIN
66 std::vector<std::string> FieldNames;
67 std::vector<vtkIdType> NumberOfBins;
68 std::vector<double> BinDeltas;
69 std::vector<std::pair<double, double>> DataRanges;
Superclass for algorithms that produce vtkArrayDatas as output.
a simple class to control print indentation
generate a n dimensional histogram field from input fields
std::pair< double, double > GetDataRange(size_t fieldIndex)
int GetFieldIndexFromFieldName(const std::string &fieldName)
GetFieldIndexFromFieldName.
static vtkmNDHistogram * New()
void AddFieldAndBin(const std::string &fieldName, const vtkIdType &numberOfBins)
double GetBinDelta(size_t fieldIndex)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkmNDHistogram() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.