Go to the documentation of this file.
40 #ifndef vtkImageDifference_h
41 #define vtkImageDifference_h
43 #include "vtkImagingCoreModule.h"
46 class vtkImageDifferenceThreadData;
47 class vtkImageDifferenceSMPThreadLocal;
99 vtkGetMacro(AllowShift,
int);
111 vtkGetMacro(Averaging,
int);
144 int extent[6],
int threadId);
156 friend class vtkImageDifferenceSMPFunctor;
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,...
void GetThresholdedError(double *e)
void SetImageData(vtkDataObject *image)
void SetImageConnection(vtkAlgorithmOutput *output)
Specify the Image to compare the input to.
Compares images for regression tests.
Generic filter that has one input..
int Threshold(vtkDataSet *input, vtkUnstructuredGrid *output, vtkDataArray *field, double lower, double upper)
void SetInputData(vtkDataObject *)
Assign a data object as input.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
double GetThresholdedError()
Return the total thresholded error in comparing the two images.
vtkImageDifferenceThreadData * ThreadData
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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
const char * ErrorMessage
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkAlgorithm * New()
Proxy object to connect input/output ports.
general representation of visualization data
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.