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 
38 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
49  vtkSetMacro(HandleBoundaries, int);
50  vtkGetMacro(HandleBoundaries, int);
51  vtkBooleanMacro(HandleBoundaries, int);
53 
55 
56  vtkSetClampMacro(Dimensionality,int,2,3);
57  vtkGetMacro(Dimensionality,int);
59 
60 protected:
63 
64  int HandleBoundaries;
66 
67  virtual int RequestInformation (vtkInformation*,
73 
74  void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
75  int extent[6], int id);
76 private:
77  vtkImageGradientMagnitude(const vtkImageGradientMagnitude&); // Not implemented.
78  void operator=(const vtkImageGradientMagnitude&); // Not implemented.
79 };
80 
81 #endif
82 
83 
84 
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:37
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()