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 
35 
37 {
38 public:
39  static vtkImageCorrelation *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
46  vtkSetClampMacro(Dimensionality,int,2,3);
47  vtkGetMacro(Dimensionality,int);
49 
51  virtual void SetInput1(vtkDataObject *in) { this->SetInput(0,in); }
52 
54  virtual void SetInput2(vtkDataObject *in) { this->SetInput(1,in); }
55 
56 protected:
59 
60  int Dimensionality;
61  virtual int RequestInformation (vtkInformation *,
67 
68  virtual void ThreadedRequestData(vtkInformation *request,
69  vtkInformationVector **inputVector,
70  vtkInformationVector *outputVector,
71  vtkImageData ***inData,
72  vtkImageData **outData,
73  int extent[6], int threadId);
74 
75 private:
76  vtkImageCorrelation(const vtkImageCorrelation&); // Not implemented.
77  void operator=(const vtkImageCorrelation&); // Not implemented.
78 };
79 
80 #endif
81 
82 
83