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 =========================================================================*/ 00041 #ifndef __vtkImageSobel2D_h 00042 #define __vtkImageSobel2D_h 00043 00044 00045 #include "vtkImageSpatialFilter.h" 00046 00047 class VTK_IMAGING_EXPORT vtkImageSobel2D : public vtkImageSpatialFilter 00048 { 00049 public: 00050 static vtkImageSobel2D *New(); 00051 vtkTypeRevisionMacro(vtkImageSobel2D,vtkImageSpatialFilter); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00054 protected: 00055 vtkImageSobel2D(); 00056 ~vtkImageSobel2D() {}; 00057 00058 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00059 int outExt[6], int id); 00060 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData); 00061 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();}; 00062 private: 00063 vtkImageSobel2D(const vtkImageSobel2D&); // Not implemented. 00064 void operator=(const vtkImageSobel2D&); // Not implemented. 00065 }; 00066 00067 #endif 00068 00069 00070