OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / include / vtk / vtkImageSobel3D.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkImageSobel3D.h,v $
5   Language:  C++
6   Date:      $Date: 2002/01/22 15:33:31 $
7   Version:   $Revision: 1.28 $
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 vtkImageSobel3D - Computes a vector field using sobel functions.
19 // .SECTION Description
20 // vtkImageSobel3D computes a vector field from a scalar field by using
21 // Sobel functions.  The number of vector components is 3 because
22 // the input is a volume.  Output is always floats.  A little creative 
23 // liberty was used to extend the 2D sobel kernels into 3D.
24
25
26
27
28 #ifndef __vtkImageSobel3D_h
29 #define __vtkImageSobel3D_h
30
31
32 #include "vtkImageSpatialFilter.h"
33
34 class VTK_IMAGING_EXPORT vtkImageSobel3D : public vtkImageSpatialFilter
35 {
36 public:
37   static vtkImageSobel3D *New();
38   vtkTypeRevisionMacro(vtkImageSobel3D,vtkImageSpatialFilter);
39   void PrintSelf(ostream& os, vtkIndent indent);
40
41 protected:
42   vtkImageSobel3D();
43   ~vtkImageSobel3D() {};
44
45   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
46                        int outExt[6], int id);
47   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
48   void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
49 private:
50   vtkImageSobel3D(const vtkImageSobel3D&);  // Not implemented.
51   void operator=(const vtkImageSobel3D&);  // Not implemented.
52 };
53
54 #endif
55
56
57