00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00026 #ifndef __vtkImageContinuousErode3D_h
00027 #define __vtkImageContinuousErode3D_h
00028
00029
00030 #include "vtkImageSpatialAlgorithm.h"
00031
00032 class vtkImageEllipsoidSource;
00033
00034 class VTK_IMAGING_EXPORT vtkImageContinuousErode3D : public vtkImageSpatialAlgorithm
00035 {
00036 public:
00038
00040 static vtkImageContinuousErode3D *New();
00041 vtkTypeRevisionMacro(vtkImageContinuousErode3D,vtkImageSpatialAlgorithm);
00042 void PrintSelf(ostream& os, vtkIndent indent);
00044
00048 void SetKernelSize(int size0, int size1, int size2);
00049
00050 protected:
00051 vtkImageContinuousErode3D();
00052 ~vtkImageContinuousErode3D();
00053
00054 vtkImageEllipsoidSource *Ellipse;
00055
00056 void ThreadedRequestData(vtkInformation *request,
00057 vtkInformationVector **inputVector,
00058 vtkInformationVector *outputVector,
00059 vtkImageData ***inData, vtkImageData **outData,
00060 int extent[6], int id);
00061 virtual int RequestData(vtkInformation *request,
00062 vtkInformationVector **inputVector,
00063 vtkInformationVector *outputVector);
00064
00065 private:
00066 vtkImageContinuousErode3D(const vtkImageContinuousErode3D&);
00067 void operator=(const vtkImageContinuousErode3D&);
00068 };
00069
00070 #endif