Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkImageLaplacian.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageLaplacian.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00044 #ifndef __vtkimageLaplacian_h
    00045 #define __vtkimageLaplacian_h
    00046
    00047
    00048 #include "vtkImageToImageFilter.h"
    00049
    00050 class VTK_IMAGING_EXPORT vtkImageLaplacian : public vtkImageToImageFilter
    00051 {
    00052 public:
    00053   static vtkImageLaplacian *New();
    00054   vtkTypeRevisionMacro(vtkImageLaplacian,vtkImageToImageFilter);
    00055   void PrintSelf(ostream& os, vtkIndent indent);
    00056
    00058
    00059   vtkSetClampMacro(Dimensionality,int,2,3);
    00060   vtkGetMacro(Dimensionality,int);
    00062
    00063 protected:
    00064   vtkImageLaplacian();
    00065   ~vtkImageLaplacian() {};
    00066
    00067   int Dimensionality;
    00068
    00069   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
    00070   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00071                        int ext[6], int id);
    00072 private:
    00073   vtkImageLaplacian(const vtkImageLaplacian&);  // Not implemented.
    00074   void operator=(const vtkImageLaplacian&);  // Not implemented.
    00075 };
    00076
    00077 #endif
    00078
    00079
    00080