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