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 =========================================================================*/ 00028 #ifndef __vtkImageFourierCenter_h 00029 #define __vtkImageFourierCenter_h 00030 00031 00032 #include "vtkImageDecomposeFilter.h" 00033 00034 class VTK_IMAGING_EXPORT vtkImageFourierCenter : public vtkImageDecomposeFilter 00035 { 00036 public: 00037 static vtkImageFourierCenter *New(); 00038 vtkTypeRevisionMacro(vtkImageFourierCenter,vtkImageDecomposeFilter); 00039 00041 00042 virtual void IterativeExecuteData(vtkImageData *in, vtkImageData *out) { 00043 this->MultiThread(in, out); }; 00045 00046 protected: 00047 vtkImageFourierCenter(); 00048 ~vtkImageFourierCenter() {}; 00049 00050 void ComputeInputUpdateExtent(int inExt[6], int outExt[6]); 00051 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00052 int outExt[6], int threadId); 00053 private: 00054 vtkImageFourierCenter(const vtkImageFourierCenter&); // Not implemented. 00055 void operator=(const vtkImageFourierCenter&); // Not implemented. 00056 }; 00057 00058 #endif 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068