34#ifndef vtkmNDHistogram_h
35#define vtkmNDHistogram_h
37#include "vtkAcceleratorsVTKmFiltersModule.h"
74 std::vector<std::string> FieldNames;
75 std::vector<vtkIdType> NumberOfBins;
76 std::vector<double> BinDeltas;
77 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.