VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkFillHolesFilter.h 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 =========================================================================*/ 00041 #ifndef __vtkFillHolesFilter_h 00042 #define __vtkFillHolesFilter_h 00043 00044 #include "vtkFiltersModelingModule.h" // For export macro 00045 #include "vtkPolyDataAlgorithm.h" 00046 00047 class vtkAbstractTransform; 00048 00049 class VTKFILTERSMODELING_EXPORT vtkFillHolesFilter : public vtkPolyDataAlgorithm 00050 { 00051 public: 00053 00054 static vtkFillHolesFilter *New(); 00055 vtkTypeMacro(vtkFillHolesFilter,vtkPolyDataAlgorithm); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00058 00060 00064 vtkSetClampMacro(HoleSize, double, 0.0, VTK_FLOAT_MAX); 00065 vtkGetMacro(HoleSize, double); 00067 00068 protected: 00069 vtkFillHolesFilter(); 00070 ~vtkFillHolesFilter(); 00071 00072 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00073 00074 double HoleSize; 00075 00076 private: 00077 vtkFillHolesFilter(const vtkFillHolesFilter&); // Not implemented. 00078 void operator=(const vtkFillHolesFilter&); // Not implemented. 00079 }; 00080 00081 #endif