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 
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetInput1(vtkDataObject *in)
Generic filter that has one input..
Correlation imageof the two inputs.
void SetInput(vtkDataObject *)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetInput2(vtkDataObject *in)
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:70