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
22#ifndef vtkImageGradientMagnitude_h
23#define vtkImageGradientMagnitude_h
24
25#include "vtkImagingGeneralModule.h" // For export macro
27
28VTK_ABI_NAMESPACE_BEGIN
29class VTKIMAGINGGENERAL_EXPORT vtkImageGradientMagnitude : public vtkThreadedImageAlgorithm
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
41 vtkSetMacro(HandleBoundaries, vtkTypeBool);
42 vtkGetMacro(HandleBoundaries, vtkTypeBool);
43 vtkBooleanMacro(HandleBoundaries, vtkTypeBool);
45
47
50 vtkSetClampMacro(Dimensionality, int, 2, 3);
51 vtkGetMacro(Dimensionality, int);
53
54protected:
56 ~vtkImageGradientMagnitude() override = default;
57
60
63
64 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
65
66private:
68 void operator=(const vtkImageGradientMagnitude&) = delete;
69};
70
71VTK_ABI_NAMESPACE_END
72#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:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.
int vtkTypeBool
Definition vtkABI.h:64