00001 //============================================================================= 00002 // This file is part of VTKEdge. See vtkedge.org for more information. 00003 // 00004 // Copyright (c) 2010 Kitware, Inc. 00005 // 00006 // VTKEdge may be used under the terms of the BSD License 00007 // Please see the file Copyright.txt in the root directory of 00008 // VTKEdge for further information. 00009 // 00010 // Alternatively, you may see: 00011 // 00012 // http://www.vtkedge.org/vtkedge/project/license.html 00013 // 00014 // 00015 // For custom extensions, consulting services, or training for 00016 // this or any other Kitware supported open source project, please 00017 // contact Kitware at sales@kitware.com. 00018 // 00019 // 00020 //============================================================================= 00034 #ifndef __vtkKWEImageFFT_h 00035 #define __vtkKWEImageFFT_h 00036 00037 00038 #include "vtkImageFourierFilter.h" 00039 #include "VTKEdgeConfigure.h" // include configuration header 00040 00041 00042 class VTKEdge_IMAGING_EXPORT vtkKWEImageFFT : public vtkImageFourierFilter 00043 { 00044 public: 00045 static vtkKWEImageFFT *New(); 00046 vtkTypeRevisionMacro(vtkKWEImageFFT,vtkImageFourierFilter); 00047 00048 00050 00056 int SplitExtent(int splitExt[6], int startExt[6], 00057 int num, int total); 00059 00060 protected: 00061 vtkKWEImageFFT() { this->NumberOfThreads = 1; } 00062 ~vtkKWEImageFFT() {}; 00063 00064 virtual int IterativeRequestInformation(vtkInformation* in, 00065 vtkInformation* out); 00066 virtual int IterativeRequestUpdateExtent(vtkInformation* in, 00067 vtkInformation* out); 00068 00069 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00070 int outExt[6], int threadId); 00071 00074 virtual void SetNumberOfThreads(int _arg); 00075 00076 private: 00077 vtkKWEImageFFT(const vtkKWEImageFFT&); // Not implemented. 00078 void operator=(const vtkKWEImageFFT&); // Not implemented. 00079 00080 00081 }; 00082 00083 #endif 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093
1.7.1