VTK  9.3.0
vtkImageGradientMagnitude.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
31#ifndef vtkImageGradientMagnitude_h
32#define vtkImageGradientMagnitude_h
33
34#include "vtkImagingGeneralModule.h" // For export macro
36
37VTK_ABI_NAMESPACE_BEGIN
38class VTKIMAGINGGENERAL_EXPORT vtkImageGradientMagnitude : public vtkThreadedImageAlgorithm
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
50 vtkSetMacro(HandleBoundaries, vtkTypeBool);
51 vtkGetMacro(HandleBoundaries, vtkTypeBool);
52 vtkBooleanMacro(HandleBoundaries, vtkTypeBool);
54
56
59 vtkSetClampMacro(Dimensionality, int, 2, 3);
60 vtkGetMacro(Dimensionality, int);
62
63protected:
65 ~vtkImageGradientMagnitude() override = default;
66
69
72
73 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
74
75private:
77 void operator=(const vtkImageGradientMagnitude&) = delete;
78};
79
80VTK_ABI_NAMESPACE_END
81#endif
topologically and geometrically regular array of data
Computes magnitude of the gradient.
~vtkImageGradientMagnitude() override=default
static vtkImageGradientMagnitude * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int outExt[6], int id) override
a simple class to control print indentation
Definition vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.
int vtkTypeBool
Definition vtkABI.h:64