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