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