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 =========================================================================*/
26 #ifndef vtkImageSobel2D_h
27 #define vtkImageSobel2D_h
28 
29 
30 #include "vtkImagingGeneralModule.h" // For export macro
32 
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)
Store vtkAlgorithm input/output information.
Computes a vector field using sobel functions.
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Filters that operate on pixel neighborhoods.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKIMAGINGGENERAL_EXPORT
Store zero or more vtkInformation instances.
static vtkImageSpatialAlgorithm * New()