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

Imaging/vtkImageFFT.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageFFT.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 =========================================================================*/
00046 #ifndef __vtkImageFFT_h
00047 #define __vtkImageFFT_h
00048 
00049 
00050 #include "vtkImageFourierFilter.h"
00051 
00052 class VTK_IMAGING_EXPORT vtkImageFFT : public vtkImageFourierFilter
00053 {
00054 public:
00055   static vtkImageFFT *New();
00056   vtkTypeRevisionMacro(vtkImageFFT,vtkImageFourierFilter);
00057 
00058 
00060 
00066   int SplitExtent(int splitExt[6], int startExt[6], 
00067                   int num, int total);
00069 
00070   virtual void IterativeExecuteData(vtkImageData *in, vtkImageData *out) 
00071     { this->MultiThread(in,out); };
00072   
00073 
00074 protected:
00075   vtkImageFFT() {};
00076   ~vtkImageFFT() {};
00077 
00078   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00079   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00080   void ExecuteInformation(){this->vtkImageIterateFilter::ExecuteInformation();};
00081   
00082   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00083                        int outExt[6], int threadId);
00084 private:
00085   vtkImageFFT(const vtkImageFFT&);  // Not implemented.
00086   void operator=(const vtkImageFFT&);  // Not implemented.
00087 };
00088 
00089 #endif
00090 
00091 
00092 
00093 
00094 
00095 
00096 
00097 
00098 
00099