VTK
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 
27 
28 #include "vtkImagingGeneralModule.h" // For export macro
30 
31 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel2D : public vtkImageSpatialAlgorithm
32 {
33 public:
34  static vtkImageSobel2D *New();
36  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 
38 protected:
40  ~vtkImageSobel2D()VTK_OVERRIDE {}
41 
42  void ThreadedRequestData(vtkInformation *request,
43  vtkInformationVector **inputVector,
44  vtkInformationVector *outputVector,
45  vtkImageData ***inData, vtkImageData **outData,
46  int outExt[6], int id) VTK_OVERRIDE;
47  int RequestInformation (vtkInformation *request,
48  vtkInformationVector **inputVector,
49  vtkInformationVector *outputVector) VTK_OVERRIDE;
50 
51 private:
52  vtkImageSobel2D(const vtkImageSobel2D&) VTK_DELETE_FUNCTION;
53  void operator=(const vtkImageSobel2D&) VTK_DELETE_FUNCTION;
54 };
55 
56 #endif
57 
58 
59 
Store vtkAlgorithm input/output information.
Computes a vector field using sobel functions.
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:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
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, multiple threads will be spawned, and each thread will call this method.
Filters that operate on pixel neighborhoods.
Store zero or more vtkInformation instances.
~vtkImageSobel2D() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSpatialAlgorithm * New()