VTK  9.6.20260614
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
50
51#ifndef vtkImageGradientMagnitude_h
52#define vtkImageGradientMagnitude_h
53
54#include "vtkImagingGeneralModule.h" // For export macro
56
57VTK_ABI_NAMESPACE_BEGIN
58class VTKIMAGINGGENERAL_EXPORT vtkImageGradientMagnitude : public vtkThreadedImageAlgorithm
59{
60public:
63 void PrintSelf(ostream& os, vtkIndent indent) override;
64
66
72 vtkBooleanMacro(HandleBoundaries, vtkTypeBool);
74
76
79 vtkSetClampMacro(Dimensionality, int, 2, 3);
80 vtkGetMacro(Dimensionality, int);
82
83protected:
85 ~vtkImageGradientMagnitude() override = default;
86
89
92
94 vtkImageData* inData, vtkImageData* outData, VTK_FUTURE_CONST int outExt[6], int id) override;
95
96private:
98 void operator=(const vtkImageGradientMagnitude&) = delete;
99};
100
101VTK_ABI_NAMESPACE_END
102#endif
topologically and geometrically regular array of data
~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 ...
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, VTK_FUTURE_CONST int outExt[6], int id) override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition vtkABI.h:64