34 #ifndef vtkmNDHistogram_h
35 #define vtkmNDHistogram_h
40 #include "vtkAcceleratorsVTKmModule.h"
46 void PrintSelf(ostream& os,
vtkIndent indent) override;
48 void AddFieldAndBin(const std::
string& fieldName, const
vtkIdType& numberOfBins);
50 double GetBinDelta(
size_t fieldIndex);
51 std::pair<
double,
double> GetDataRange(
size_t fieldIndex);
59 int GetFieldIndexFromFieldName(const std::
string& fieldName);
73 std::
vector<std::
string> FieldNames;
75 std::
vector<
double> BinDeltas;
76 std::
vector<std::pair<
double,
double>> DataRanges;
79 #endif // vtkmNDHistogram_h