VTK
vtkImageCorrelation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageCorrelation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkImageCorrelation_h
30 #define vtkImageCorrelation_h
31 
32 
33 
34 #include "vtkImagingGeneralModule.h" // For export macro
36 
38 {
39 public:
40  static vtkImageCorrelation *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
47  vtkSetClampMacro(Dimensionality,int,2,3);
48  vtkGetMacro(Dimensionality,int);
50 
52  virtual void SetInput1Data(vtkDataObject *in) { this->SetInputData(0,in); }
53 
55  virtual void SetInput2Data(vtkDataObject *in) { this->SetInputData(1,in); }
56 
57 protected:
60 
62  virtual int RequestInformation (vtkInformation *,
68 
69  virtual void ThreadedRequestData(vtkInformation *request,
70  vtkInformationVector **inputVector,
71  vtkInformationVector *outputVector,
72  vtkImageData ***inData,
73  vtkImageData **outData,
74  int extent[6], int threadId);
75 
76 private:
77  vtkImageCorrelation(const vtkImageCorrelation&); // Not implemented.
78  void operator=(const vtkImageCorrelation&); // Not implemented.
79 };
80 
81 #endif
82 
83 
84 
virtual void SetInput2Data(vtkDataObject *in)
Store vtkAlgorithm input/output information.
void SetInputData(vtkDataObject *)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generic filter that has one input..
Correlation imageof the two inputs.
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
virtual void SetInput1Data(vtkDataObject *in)
#define VTKIMAGINGGENERAL_EXPORT
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:64