Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkImageLaplacian.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageLaplacian.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 =========================================================================*/
00040 #ifndef __vtkimageLaplacian_h
00041 #define __vtkimageLaplacian_h
00042 
00043 
00044 #include "vtkImageToImageFilter.h"
00045 
00046 class VTK_IMAGING_EXPORT vtkImageLaplacian : public vtkImageToImageFilter
00047 {
00048 public:
00049   static vtkImageLaplacian *New();
00050   vtkTypeRevisionMacro(vtkImageLaplacian,vtkImageToImageFilter);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052   
00054 
00055   vtkSetClampMacro(Dimensionality,int,2,3);
00056   vtkGetMacro(Dimensionality,int);
00058   
00059 protected:
00060   vtkImageLaplacian();
00061   ~vtkImageLaplacian() {};
00062 
00063   int Dimensionality;
00064 
00065   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00066   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00067                        int ext[6], int id);
00068 private:
00069   vtkImageLaplacian(const vtkImageLaplacian&);  // Not implemented.
00070   void operator=(const vtkImageLaplacian&);  // Not implemented.
00071 };
00072 
00073 #endif
00074 
00075 
00076