VTK  9.2.6
vtkImageSobel2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageSobel2D.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 =========================================================================*/
36 #ifndef vtkImageSobel2D_h
37 #define vtkImageSobel2D_h
38 
40 #include "vtkImagingGeneralModule.h" // For export macro
41 
42 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel2D : public vtkImageSpatialAlgorithm
43 {
44 public:
45  static vtkImageSobel2D* New();
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
49 protected:
51  ~vtkImageSobel2D() override = default;
52 
54  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
55  int outExt[6], int id) override;
57  vtkInformationVector* outputVector) override;
58 
59 private:
60  vtkImageSobel2D(const vtkImageSobel2D&) = delete;
61  void operator=(const vtkImageSobel2D&) = delete;
62 };
63 
64 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:63
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:49
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.