VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageLaplacian.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 =========================================================================*/ 00029 #ifndef __vtkImageLaplacian_h 00030 #define __vtkImageLaplacian_h 00031 00032 00033 #include "vtkImagingGeneralModule.h" // For export macro 00034 #include "vtkThreadedImageAlgorithm.h" 00035 00036 class VTKIMAGINGGENERAL_EXPORT vtkImageLaplacian : public vtkThreadedImageAlgorithm 00037 { 00038 public: 00039 static vtkImageLaplacian *New(); 00040 vtkTypeMacro(vtkImageLaplacian,vtkThreadedImageAlgorithm); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 00045 vtkSetClampMacro(Dimensionality,int,2,3); 00046 vtkGetMacro(Dimensionality,int); 00048 00049 protected: 00050 vtkImageLaplacian(); 00051 ~vtkImageLaplacian() {}; 00052 00053 int Dimensionality; 00054 00055 virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, 00056 vtkInformationVector *); 00057 void ThreadedRequestData(vtkInformation *request, 00058 vtkInformationVector **inputVector, 00059 vtkInformationVector *outputVector, 00060 vtkImageData ***inData, vtkImageData **outData, 00061 int outExt[6], int id); 00062 00063 private: 00064 vtkImageLaplacian(const vtkImageLaplacian&); // Not implemented. 00065 void operator=(const vtkImageLaplacian&); // Not implemented. 00066 }; 00067 00068 #endif 00069 00070 00071