00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageContinuousErode3D.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 =========================================================================*/ 00041 #ifndef __vtkImageContinuousErode3D_h 00042 #define __vtkImageContinuousErode3D_h 00043 00044 00045 #include "vtkImageSpatialFilter.h" 00046 00047 class vtkImageEllipsoidSource; 00048 00049 class VTK_IMAGING_EXPORT vtkImageContinuousErode3D : public vtkImageSpatialFilter 00050 { 00051 public: 00053 00055 static vtkImageContinuousErode3D *New(); 00056 vtkTypeRevisionMacro(vtkImageContinuousErode3D,vtkImageSpatialFilter); 00057 void PrintSelf(ostream& os, vtkIndent indent); 00059 00063 void SetKernelSize(int size0, int size1, int size2); 00064 00065 protected: 00066 vtkImageContinuousErode3D(); 00067 ~vtkImageContinuousErode3D(); 00068 00069 vtkImageEllipsoidSource *Ellipse; 00070 00071 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00072 int extent[6], int id); 00073 private: 00074 vtkImageContinuousErode3D(const vtkImageContinuousErode3D&); // Not implemented. 00075 void operator=(const vtkImageContinuousErode3D&); // Not implemented. 00076 }; 00077 00078 #endif 00079 00080 00081