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 protected: 00056 vtkImageFFT() {}; 00057 ~vtkImageFFT() {}; 00058 00059 virtual int IterativeRequestInformation(vtkInformation* in, 00060 vtkInformation* out); 00061 virtual int IterativeRequestUpdateExtent(vtkInformation* in, 00062 vtkInformation* out); 00063 00064 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00065 int outExt[6], int threadId); 00066 private: 00067 vtkImageFFT(const vtkImageFFT&); // Not implemented. 00068 void operator=(const vtkImageFFT&); // Not implemented. 00069 }; 00070 00071 #endif 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081