Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class 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 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00029 #ifndef __vtkImageCorrelation_h
00030 #define __vtkImageCorrelation_h
00031 
00032 
00033 
00034 #include "vtkImageTwoInputFilter.h"
00035 
00036 class VTK_IMAGING_EXPORT vtkImageCorrelation : public vtkImageTwoInputFilter
00037 {
00038 public:
00039   static vtkImageCorrelation *New();
00040   vtkTypeRevisionMacro(vtkImageCorrelation,vtkImageTwoInputFilter);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042   
00044 
00045   vtkSetClampMacro(Dimensionality,int,2,3);
00046   vtkGetMacro(Dimensionality,int);
00048   
00049 protected:
00050   vtkImageCorrelation();
00051   ~vtkImageCorrelation() {};
00052 
00053   int Dimensionality;
00054   void ExecuteInformation(vtkImageData **inDatas, vtkImageData *outData);
00055   virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6],
00056                                         int whichInput);
00057   void ExecuteInformation(){this->vtkImageTwoInputFilter::ExecuteInformation();};
00058   void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
00059                        int extent[6], int id);
00060 private:
00061   vtkImageCorrelation(const vtkImageCorrelation&);  // Not implemented.
00062   void operator=(const vtkImageCorrelation&);  // Not implemented.
00063 };
00064 
00065 #endif
00066 
00067 
00068