 |
VTK
9.1.0
|
Go to the documentation of this file.
48 #ifndef vtkImageDifference_h
49 #define vtkImageDifference_h
51 #include "vtkImagingCoreModule.h"
54 class vtkImageDifferenceThreadData;
55 class vtkImageDifferenceSMPThreadLocal;
91 vtkSetMacro(Threshold,
int);
92 vtkGetMacro(Threshold,
int);
125 vtkSetMacro(AverageThresholdFactor,
double);
126 vtkGetMacro(AverageThresholdFactor,
double);
150 int outExt[6],
int threadId)
override;
162 friend class vtkImageDifferenceSMPFunctor;
void GetThresholdedError(double *e)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetImageData(vtkDataObject *image)
Specify the Image to compare the input to.
void SetImageConnection(vtkAlgorithmOutput *output)
Specify the Image to compare the input to.
Compares images for regression tests.
Generic filter that has one input.
static vtkImageDifference * New()
double AverageThresholdFactor
void SetInputData(vtkDataObject *)
Assign a data object as input.
double GetThresholdedError()
Return the total thresholded error in comparing the two images.
vtkImageDifferenceThreadData * ThreadData
double GetError()
Return the total error in comparing the two images.
vtkImageDifferenceSMPThreadLocal * SMPThreadData
topologically and geometrically regular array of data
a simple class to control print indentation
vtkImageData * GetImage()
Specify the Image to compare the input to.
const char * ErrorMessage
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId) override
If the subclass does not define an Execute method, then the task will be broken up,...
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
Proxy object to connect input/output ports.
~vtkImageDifference() override=default
general representation of visualization data
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.