1 /*=========================================================================
2 
3   Program:   Visualization Toolkit
4   Module:    vtkImageMagnitude.h
5 
6   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7   All rights reserved.
8   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10      This software is distributed WITHOUT ANY WARRANTY; without even
11      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12      PURPOSE.  See the above copyright notice for more information.
13 
14 =========================================================================*/
15 // .NAME vtkImageMagnitude - Colapses components with magnitude function..
16 // .SECTION Description
17 // vtkImageMagnitude takes the magnitude of the components.
18 
19 
20 #ifndef vtkImageMagnitude_h
21 #define vtkImageMagnitude_h
22 
23 
24 #include "vtkImagingMathModule.h" // For export macro
25 #include "vtkThreadedImageAlgorithm.h"
26 
27 class VTKIMAGINGMATH_EXPORT vtkImageMagnitude : public vtkThreadedImageAlgorithm
28 {
29 public:
30   static vtkImageMagnitude *New();
31   vtkTypeMacro(vtkImageMagnitude,vtkThreadedImageAlgorithm);
32 
33 protected:
34   vtkImageMagnitude();
~vtkImageMagnitude()35   ~vtkImageMagnitude() {}
36 
37   virtual int RequestInformation (vtkInformation *, vtkInformationVector**,
38                                   vtkInformationVector *);
39 
40   void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
41                         int outExt[6], int id);
42 
43 private:
44   vtkImageMagnitude(const vtkImageMagnitude&);  // Not implemented.
45   void operator=(const vtkImageMagnitude&);  // Not implemented.
46 };
47 
48 #endif
49 
50 
51 
52 
53 
54 
55 
56 
57 
58 
59 // VTK-HeaderTest-Exclude: vtkImageMagnitude.h
60