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