VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
26 #ifndef __vtkImageSobel2D_h
27 #define __vtkImageSobel2D_h
28 
29 
30 #include "vtkImagingGeneralModule.h" // For export macro
32 
33 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel2D : public vtkImageSpatialAlgorithm
34 {
35 public:
36  static vtkImageSobel2D *New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
40 protected:
43 
44  void ThreadedRequestData(vtkInformation *request,
45  vtkInformationVector **inputVector,
46  vtkInformationVector *outputVector,
47  vtkImageData ***inData, vtkImageData **outData,
48  int outExt[6], int id);
49  virtual int RequestInformation (vtkInformation *request,
50  vtkInformationVector **inputVector,
51  vtkInformationVector *outputVector);
52 
53 private:
54  vtkImageSobel2D(const vtkImageSobel2D&); // Not implemented.
55  void operator=(const vtkImageSobel2D&); // Not implemented.
56 };
57 
58 #endif
59 
60 
61 
void PrintSelf(ostream &os, vtkIndent indent)
Computes a vector field using sobel functions.
Filters that operate on pixel neighborhoods.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkImageSpatialAlgorithm * New()