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