VTK  9.3.20240327
vtkImageSobel2D.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
34 #ifndef vtkImageSobel2D_h
35 #define vtkImageSobel2D_h
36 
38 #include "vtkImagingGeneralModule.h" // For export macro
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel2D : public vtkImageSpatialAlgorithm
42 {
43 public:
44  static vtkImageSobel2D* New();
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
48 protected:
50  ~vtkImageSobel2D() override = default;
51 
53  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
54  int outExt[6], int id) override;
56  vtkInformationVector* outputVector) override;
57 
58 private:
59  vtkImageSobel2D(const vtkImageSobel2D&) = delete;
60  void operator=(const vtkImageSobel2D&) = delete;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:155
Computes a vector field using sobel functions.
static vtkImageSobel2D * New()
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkImageSobel2D() override=default
Filters that operate on pixel neighborhoods.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.