VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageSobel2D.h 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 "vtkImagingGeneralModule.h" // For export macro 00031 #include "vtkImageSpatialAlgorithm.h" 00032 00033 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel2D : public vtkImageSpatialAlgorithm 00034 { 00035 public: 00036 static vtkImageSobel2D *New(); 00037 vtkTypeMacro(vtkImageSobel2D,vtkImageSpatialAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00040 protected: 00041 vtkImageSobel2D(); 00042 ~vtkImageSobel2D() {}; 00043 00044 void ThreadedRequestData(vtkInformation *request, 00045 vtkInformationVector **inputVector, 00046 vtkInformationVector *outputVector, 00047 vtkImageData ***inData, vtkImageData **outData, 00048 int outExt[6], int id); 00049 virtual int RequestInformation (vtkInformation *request, 00050 vtkInformationVector **inputVector, 00051 vtkInformationVector *outputVector); 00052 00053 private: 00054 vtkImageSobel2D(const vtkImageSobel2D&); // Not implemented. 00055 void operator=(const vtkImageSobel2D&); // Not implemented. 00056 }; 00057 00058 #endif 00059 00060 00061