00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageMagnitude.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 =========================================================================*/ 00024 #ifndef __vtkImageMagnitude_h 00025 #define __vtkImageMagnitude_h 00026 00027 00028 #include "vtkThreadedImageAlgorithm.h" 00029 00030 class VTK_IMAGING_EXPORT vtkImageMagnitude : public vtkThreadedImageAlgorithm 00031 { 00032 public: 00033 static vtkImageMagnitude *New(); 00034 vtkTypeRevisionMacro(vtkImageMagnitude,vtkThreadedImageAlgorithm); 00035 00036 protected: 00037 vtkImageMagnitude(); 00038 ~vtkImageMagnitude() {}; 00039 00040 virtual int RequestInformation (vtkInformation *, vtkInformationVector**, 00041 vtkInformationVector *); 00042 00043 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00044 int outExt[6], int id); 00045 00046 private: 00047 vtkImageMagnitude(const vtkImageMagnitude&); // Not implemented. 00048 void operator=(const vtkImageMagnitude&); // Not implemented. 00049 }; 00050 00051 #endif 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061