OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I686LINUX / util / I686LINUX / include / vtk / vtkImageSobel2D.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkImageSobel2D.h,v $
5   Language:  C++
6   Date:      $Date: 2002/01/22 15:33:30 $
7   Version:   $Revision: 1.23 $
8
9   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
10   All rights reserved.
11   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
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.
16
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.
23
24
25 #ifndef __vtkImageSobel2D_h
26 #define __vtkImageSobel2D_h
27
28
29 #include "vtkImageSpatialFilter.h"
30
31 class VTK_IMAGING_EXPORT vtkImageSobel2D : public vtkImageSpatialFilter
32 {
33 public:
34   static vtkImageSobel2D *New();
35   vtkTypeRevisionMacro(vtkImageSobel2D,vtkImageSpatialFilter);
36   void PrintSelf(ostream& os, vtkIndent indent);
37
38 protected:
39   vtkImageSobel2D();
40   ~vtkImageSobel2D() {};
41
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();};
46 private:
47   vtkImageSobel2D(const vtkImageSobel2D&);  // Not implemented.
48   void operator=(const vtkImageSobel2D&);  // Not implemented.
49 };
50
51 #endif
52
53
54