15#ifndef vtkmHistogram_h
16#define vtkmHistogram_h
18#include "vtkAcceleratorsVTKmFiltersModule.h"
22VTK_ABI_NAMESPACE_BEGIN
36 vtkSetMacro(NumberOfBins,
size_t);
37 vtkGetMacro(NumberOfBins,
size_t);
45 vtkSetVector2Macro(CustomBinRange,
double);
46 vtkGetVector2Macro(CustomBinRange,
double);
54 vtkSetMacro(UseCustomBinRanges,
bool);
55 vtkGetMacro(UseCustomBinRanges,
bool);
56 vtkBooleanMacro(UseCustomBinRanges,
bool);
65 vtkSetMacro(CenterBinsAroundMinAndMax,
bool);
66 vtkGetMacro(CenterBinsAroundMinAndMax,
bool);
67 vtkBooleanMacro(CenterBinsAroundMinAndMax,
bool);
74 vtkGetVectorMacro(ComputedRange,
double, 2);
81 vtkGetMacro(BinDelta,
double);
99 double CustomBinRange[2];
100 bool UseCustomBinRanges;
101 bool CenterBinsAroundMinAndMax;
102 double ComputedRange[2];
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
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkmHistogram * New()
~vtkmHistogram() 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.