VTK: Imaging/General/vtkImageSobel2D.h Source File

| VTK 9.3.1

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
24 #ifndef vtkImageSobel2D_h
25 #define vtkImageSobel2D_h
26
27 #include "vtkImageSpatialAlgorithm.h"
28 #include "vtkImagingGeneralModule.h" // For export macro
29
30 VTK_ABI_NAMESPACE_BEGIN
31 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel2D : public vtkImageSpatialAlgorithm
32 {
33 public:
34 static vtkImageSobel2D* New();
35 vtkTypeMacro(vtkImageSobel2D, vtkImageSpatialAlgorithm);
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 protected:
39 vtkImageSobel2D();
40 ~vtkImageSobel2D() override = default;
41
42 void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
43 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
44 int outExt[6], int id) override;
45 int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
46 vtkInformationVector* outputVector) override;
47
48 private:
49 vtkImageSobel2D(const vtkImageSobel2D&) = delete;
50 void operator=(const vtkImageSobel2D&) = delete;
51 };
52
53 VTK_ABI_NAMESPACE_END
54 #endif
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkImageSobel2D
Computes a vector field using sobel functions.
Definition: vtkImageSobel2D.h:32
vtkImageSobel2D::New
static vtkImageSobel2D * New()
vtkImageSobel2D::RequestInformation
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageSobel2D::ThreadedRequestData
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,...
vtkImageSobel2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageSobel2D::~vtkImageSobel2D
~vtkImageSobel2D() override=default
vtkImageSobel2D::vtkImageSobel2D
vtkImageSobel2D()
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:23
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkImageSpatialAlgorithm.h