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 //============================================================================= 00040 #ifndef __vtkKWEImageRFFT_h 00041 #define __vtkKWEImageRFFT_h 00042 00043 #include "vtkImageFourierFilter.h" 00044 #include "VTKEdgeConfigure.h" // include configuration header 00045 00046 00047 class VTKEdge_IMAGING_EXPORT vtkKWEImageRFFT : public vtkImageFourierFilter 00048 { 00049 public: 00050 static vtkKWEImageRFFT *New(); 00051 vtkTypeRevisionMacro(vtkKWEImageRFFT,vtkImageFourierFilter); 00052 00053 00055 00061 int SplitExtent(int splitExt[6], int startExt[6], 00062 int num, int total); 00064 00067 virtual void SetNumberOfThreads(int _arg); 00068 00069 protected: 00070 vtkKWEImageRFFT() { this->NumberOfThreads = 1; } 00071 ~vtkKWEImageRFFT() {}; 00072 00073 virtual int IterativeRequestInformation(vtkInformation* in, 00074 vtkInformation* out); 00075 virtual int IterativeRequestUpdateExtent(vtkInformation* in, 00076 vtkInformation* out); 00077 00078 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00079 int outExt[6], int threadId); 00080 00081 private: 00082 vtkKWEImageRFFT(const vtkKWEImageRFFT&); // Not implemented. 00083 void operator=(const vtkKWEImageRFFT&); // Not implemented. 00084 }; 00085 00086 #endif 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096
1.7.1