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

vtkImageDilateErode3D.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageDilateErode3D.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 =========================================================================*/
00036 #ifndef __vtkImageDilateErode3D_h
00037 #define __vtkImageDilateErode3D_h
00038 
00039 
00040 #include "vtkImageSpatialFilter.h"
00041 
00042 class vtkImageEllipsoidSource;
00043 
00044 class VTK_IMAGING_EXPORT vtkImageDilateErode3D : public vtkImageSpatialFilter
00045 {
00046 public:
00048 
00050   static vtkImageDilateErode3D *New();
00051   vtkTypeRevisionMacro(vtkImageDilateErode3D,vtkImageSpatialFilter);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00054   
00058   void SetKernelSize(int size0, int size1, int size2);
00059 
00060   
00062 
00063   vtkSetMacro(DilateValue, double);
00064   vtkGetMacro(DilateValue, double);
00065   vtkSetMacro(ErodeValue, double);
00066   vtkGetMacro(ErodeValue, double);
00068 
00069 protected:
00070   vtkImageDilateErode3D();
00071   ~vtkImageDilateErode3D();
00072 
00073   vtkImageEllipsoidSource *Ellipse;
00074   double DilateValue;
00075   double ErodeValue;
00076     
00077   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 
00078                        int extent[6], int id);
00079 private:
00080   vtkImageDilateErode3D(const vtkImageDilateErode3D&);  // Not implemented.
00081   void operator=(const vtkImageDilateErode3D&);  // Not implemented.
00082 };
00083 
00084 #endif
00085