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