1 /*=========================================================================
3 Program: Visualization Toolkit
4 Module: $RCSfile: vtkImageSobel2D.h,v $
6 Date: $Date: 2002/01/22 15:33:30 $
7 Version: $Revision: 1.23 $
9 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
11 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notice for more information.
17 =========================================================================*/
18 // .NAME vtkImageSobel2D - Computes a vector field using sobel functions.
19 // .SECTION Description
20 // vtkImageSobel2D computes a vector field from a scalar field by using
21 // Sobel functions. The number of vector components is 2 because
22 // the input is an image. Output is always floats.
25 #ifndef __vtkImageSobel2D_h
26 #define __vtkImageSobel2D_h
29 #include "vtkImageSpatialFilter.h"
31 class VTK_IMAGING_EXPORT vtkImageSobel2D : public vtkImageSpatialFilter
34 static vtkImageSobel2D *New();
35 vtkTypeRevisionMacro(vtkImageSobel2D,vtkImageSpatialFilter);
36 void PrintSelf(ostream& os, vtkIndent indent);
40 ~vtkImageSobel2D() {};
42 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
43 int outExt[6], int id);
44 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
45 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
47 vtkImageSobel2D(const vtkImageSobel2D&); // Not implemented.
48 void operator=(const vtkImageSobel2D&); // Not implemented.