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