37 #ifndef vtkImageDifference_h
38 #define vtkImageDifference_h
40 #include "vtkImagingCoreModule.h"
43 class vtkImageDifferenceThreadData;
44 class vtkImageDifferenceSMPThreadLocal;
84 vtkGetMacro(Threshold,
int);
96 vtkGetMacro(AllowShift,
int);
108 vtkGetMacro(Averaging,
int);
131 vtkInformationVector *) VTK_OVERRIDE;
132 int RequestData(vtkInformation *,
133 vtkInformationVector **,
134 vtkInformationVector *) VTK_OVERRIDE;
136 void ThreadedRequestData(vtkInformation *request,
137 vtkInformationVector **inputVector,
138 vtkInformationVector *outputVector,
141 int extent[6],
int threadId) VTK_OVERRIDE;
144 vtkImageDifferenceThreadData *ThreadData;
147 vtkImageDifferenceSMPThreadLocal *SMPThreadData;
153 friend class vtkImageDifferenceSMPFunctor;
Compares images for regression tests.
void SetImageData(vtkDataObject *image)
Specify the Image to compare the input to.
void GetThresholdedError(double *e)
void SetInputData(vtkDataObject *)
Assign a data object as input.
double GetError()
Return the total error in comparing the two images.
void SetImageConnection(vtkAlgorithmOutput *output)
Specify the Image to compare the input to.
Proxy object to connect input/output ports.
Generic filter that has one input.
a simple class to control print indentation
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 SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double GetThresholdedError()
Return the total thresholded error in comparing the two images.
~vtkImageDifference() override
const char * ErrorMessage
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data