00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageFourierCenter.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 =========================================================================*/ 00039 #ifndef __vtkImageFourierCenter_h 00040 #define __vtkImageFourierCenter_h 00041 00042 00043 #include "vtkImageDecomposeFilter.h" 00044 00045 class VTK_IMAGING_EXPORT vtkImageFourierCenter : public vtkImageDecomposeFilter 00046 { 00047 public: 00048 static vtkImageFourierCenter *New(); 00049 vtkTypeRevisionMacro(vtkImageFourierCenter,vtkImageDecomposeFilter); 00050 00052 00053 virtual void IterativeExecuteData(vtkImageData *in, vtkImageData *out) { 00054 this->MultiThread(in, out); }; 00056 00057 protected: 00058 vtkImageFourierCenter(); 00059 ~vtkImageFourierCenter() {}; 00060 00061 void ComputeInputUpdateExtent(int inExt[6], int outExt[6]); 00062 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00063 int outExt[6], int threadId); 00064 private: 00065 vtkImageFourierCenter(const vtkImageFourierCenter&); // Not implemented. 00066 void operator=(const vtkImageFourierCenter&); // Not implemented. 00067 }; 00068 00069 #endif 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079