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 =========================================================================*/ 00036 #ifndef __vtkImageMagnitude_h 00037 #define __vtkImageMagnitude_h 00038 00039 00040 #include "vtkThreadedImageAlgorithm.h" 00041 00042 class VTK_IMAGING_EXPORT vtkImageMagnitude : public vtkThreadedImageAlgorithm 00043 { 00044 public: 00045 static vtkImageMagnitude *New(); 00046 vtkTypeRevisionMacro(vtkImageMagnitude,vtkThreadedImageAlgorithm); 00047 00048 protected: 00049 vtkImageMagnitude(); 00050 ~vtkImageMagnitude() {}; 00051 00052 void ExecuteInformation (vtkInformation *, vtkInformationVector *, 00053 vtkInformationVector *); 00054 00055 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00056 int outExt[6], int id); 00057 00058 private: 00059 vtkImageMagnitude(const vtkImageMagnitude&); // Not implemented. 00060 void operator=(const vtkImageMagnitude&); // Not implemented. 00061 }; 00062 00063 #endif 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073