26 #ifndef vtkmHistogram_h 27 #define vtkmHistogram_h 29 #include "vtkAcceleratorsVTKmModule.h" 38 void PrintSelf(ostream& os,
vtkIndent indent) override;
45 vtkSetMacro(NumberOfBins,
size_t);
46 vtkGetMacro(NumberOfBins,
size_t);
54 vtkSetVector2Macro(CustomBinRange,
double);
55 vtkGetVector2Macro(CustomBinRange,
double);
63 vtkSetMacro(UseCustomBinRanges,
bool);
64 vtkGetMacro(UseCustomBinRanges,
bool);
65 vtkBooleanMacro(UseCustomBinRanges,
bool);
74 vtkSetMacro(CenterBinsAroundMinAndMax,
bool);
75 vtkGetMacro(CenterBinsAroundMinAndMax,
bool);
76 vtkBooleanMacro(CenterBinsAroundMinAndMax,
bool);
83 vtkGetVectorMacro(ComputedRange,
double, 2);
90 vtkGetMacro(BinDelta,
double);
99 int FillInputPortInformation(
int port, vtkInformation*
info) override;
102 vtkmHistogram(const vtkmHistogram&) = delete;
103 void operator=(const vtkmHistogram&) = delete;
109 double CustomBinRange[2];
110 bool UseCustomBinRanges;
111 bool CenterBinsAroundMinAndMax;
112 double ComputedRange[2];
115 #endif // vtkmHistogram_h
dynamic, self-adjusting array of double
a simple class to control print indentation
Superclass for algorithms that produce only vtkTables as output.
generate a histogram out of a scalar data