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

vtkImageFFT.h

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