25 #ifndef vtkImageHistogram_h
26 #define vtkImageHistogram_h
28 #include "vtkImagingStatisticsModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
34 class vtkImageHistogramThreadData;
35 class vtkImageHistogramSMPThreadLocal;
61 vtkSetMacro(ActiveComponent,
int);
62 vtkGetMacro(ActiveComponent,
int);
91 vtkSetMacro(MaximumNumberOfBins,
int);
92 vtkGetMacro(MaximumNumberOfBins,
int);
100 vtkSetMacro(NumberOfBins,
int);
101 vtkGetMacro(NumberOfBins,
int);
109 vtkSetMacro(BinOrigin,
double);
110 vtkGetMacro(BinOrigin,
double);
118 vtkSetMacro(BinSpacing,
double);
119 vtkGetMacro(BinSpacing,
double);
142 vtkBooleanMacro(GenerateHistogramImage,
vtkTypeBool);
151 vtkSetVector2Macro(HistogramImageSize,
int);
152 vtkGetVector2Macro(HistogramImageSize,
int);
164 vtkGetMacro(HistogramImageScale,
int);
165 const char* GetHistogramImageScaleAsString();
212 int HistogramImageSize[2];
233 friend class vtkImageHistogramFunctor;
236 VTK_ABI_NAMESPACE_END
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
dynamic, self-adjusting array of vtkIdType
vtkIdType GetTotal()
Get the total count of the histogram.
vtkTypeBool GenerateHistogramImage
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
Proxy object to connect input/output ports.
Generic filter that has one input.
vtkTypeBool AutomaticBinning
void SetHistogramImageScaleToLog()
Set the scale to use for the histogram image.
vtkImageHistogramSMPThreadLocal * SMPThreadData
void SetHistogramImageScaleToSqrt()
Set the scale to use for the histogram image.
a simple class to control print indentation
efficient description of an image stencil
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdTypeArray * Histogram
void SetHistogramImageScaleToLinear()
Set the scale to use for the histogram image.
vtkImageHistogramThreadData * ThreadData
Compute the histogram for an image.