Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Imaging/vtkImageCorrelation.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageCorrelation.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00044 #ifndef __vtkImageCorrelation_h
00045 #define __vtkImageCorrelation_h
00046 
00047 
00048 
00049 #include "vtkImageTwoInputFilter.h"
00050 
00051 class VTK_IMAGING_EXPORT vtkImageCorrelation : public vtkImageTwoInputFilter
00052 {
00053 public:
00054   static vtkImageCorrelation *New();
00055   vtkTypeRevisionMacro(vtkImageCorrelation,vtkImageTwoInputFilter);
00056   void PrintSelf(ostream& os, vtkIndent indent);
00057   
00059 
00060   vtkSetClampMacro(Dimensionality,int,2,3);
00061   vtkGetMacro(Dimensionality,int);
00063   
00064 protected:
00065   vtkImageCorrelation();
00066   ~vtkImageCorrelation() {};
00067 
00068   int Dimensionality;
00069   void ExecuteInformation(vtkImageData **inDatas, vtkImageData *outData);
00070   virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6],
00071                                         int whichInput);
00072   void ExecuteInformation(){this->vtkImageTwoInputFilter::ExecuteInformation();};
00073   void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
00074                        int extent[6], int id);
00075 private:
00076   vtkImageCorrelation(const vtkImageCorrelation&);  // Not implemented.
00077   void operator=(const vtkImageCorrelation&);  // Not implemented.
00078 };
00079 
00080 #endif
00081 
00082 
00083