vtkImageDilateErode3D.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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&);
00081 void operator=(const vtkImageDilateErode3D&);
00082 };
00083
00084 #endif
00085