00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageSobel2D.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00030 #ifndef __vtkImageSobel2D_h 00031 #define __vtkImageSobel2D_h 00032 00033 00034 #include "vtkImageSpatialFilter.h" 00035 00036 class VTK_IMAGING_EXPORT vtkImageSobel2D : public vtkImageSpatialFilter 00037 { 00038 public: 00039 static vtkImageSobel2D *New(); 00040 vtkTypeRevisionMacro(vtkImageSobel2D,vtkImageSpatialFilter); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00043 protected: 00044 vtkImageSobel2D(); 00045 ~vtkImageSobel2D() {}; 00046 00047 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00048 int outExt[6], int id); 00049 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData); 00050 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();}; 00051 private: 00052 vtkImageSobel2D(const vtkImageSobel2D&); // Not implemented. 00053 void operator=(const vtkImageSobel2D&); // Not implemented. 00054 }; 00055 00056 #endif 00057 00058 00059