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