VTK
vtkImageGradientMagnitude.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageGradientMagnitude.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 =========================================================================*/
33 #ifndef vtkImageGradientMagnitude_h
34 #define vtkImageGradientMagnitude_h
35 
36 
37 #include "vtkImagingGeneralModule.h" // For export macro
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
50  vtkSetMacro(HandleBoundaries, int);
51  vtkGetMacro(HandleBoundaries, int);
52  vtkBooleanMacro(HandleBoundaries, int);
54 
56 
57  vtkSetClampMacro(Dimensionality,int,2,3);
58  vtkGetMacro(Dimensionality,int);
60 
61 protected:
64 
67 
68  virtual int RequestInformation (vtkInformation*,
74 
75  void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
76  int extent[6], int id);
77 private:
78  vtkImageGradientMagnitude(const vtkImageGradientMagnitude&); // Not implemented.
79  void operator=(const vtkImageGradientMagnitude&); // Not implemented.
80 };
81 
82 #endif
83 
84 
85 
Computes magnitude of the gradient.
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generic filter that has one input..
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIMAGINGGENERAL_EXPORT
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()