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

dox/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 =========================================================================*/
00035 #ifndef __vtkImageFFT_h
00036 #define __vtkImageFFT_h
00037 
00038 
00039 #include "vtkImageFourierFilter.h"
00040 
00041 class VTK_IMAGING_EXPORT vtkImageFFT : public vtkImageFourierFilter
00042 {
00043 public:
00044   static vtkImageFFT *New();
00045   vtkTypeRevisionMacro(vtkImageFFT,vtkImageFourierFilter);
00046 
00047 
00049 
00055   int SplitExtent(int splitExt[6], int startExt[6], 
00056                   int num, int total);
00058 
00059   virtual void IterativeExecuteData(vtkImageData *in, vtkImageData *out) 
00060     { this->MultiThread(in,out); };
00061   
00062 
00063 protected:
00064   vtkImageFFT() {};
00065   ~vtkImageFFT() {};
00066 
00067   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00068   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00069   void ExecuteInformation(){this->vtkImageIterateFilter::ExecuteInformation();};
00070   
00071   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00072                        int outExt[6], int threadId);
00073 private:
00074   vtkImageFFT(const vtkImageFFT&);  // Not implemented.
00075   void operator=(const vtkImageFFT&);  // Not implemented.
00076 };
00077 
00078 #endif
00079 
00080 
00081 
00082 
00083 
00084 
00085 
00086 
00087 
00088