00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00026 #ifndef __vtkImageSobel2D_h
00027 #define __vtkImageSobel2D_h
00028 
00029 
00030 #include "vtkImageSpatialAlgorithm.h"
00031 
00032 class VTK_IMAGING_EXPORT vtkImageSobel2D : public vtkImageSpatialAlgorithm
00033 {
00034 public:
00035   static vtkImageSobel2D *New();
00036   vtkTypeMacro(vtkImageSobel2D,vtkImageSpatialAlgorithm);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00039 protected:
00040   vtkImageSobel2D();
00041   ~vtkImageSobel2D() {};
00042 
00043   void ThreadedRequestData(vtkInformation *request,
00044                            vtkInformationVector **inputVector,
00045                            vtkInformationVector *outputVector,
00046                            vtkImageData ***inData, vtkImageData **outData,
00047                            int outExt[6], int id);
00048   virtual int RequestInformation (vtkInformation *request,
00049                                   vtkInformationVector **inputVector,
00050                                   vtkInformationVector *outputVector);
00051 
00052 private:
00053   vtkImageSobel2D(const vtkImageSobel2D&);  
00054   void operator=(const vtkImageSobel2D&);  
00055 };
00056 
00057 #endif
00058 
00059 
00060