|
VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOutlineCornerFilter.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 =========================================================================*/ 00029 #ifndef vtkOutlineCornerFilter_h 00030 #define vtkOutlineCornerFilter_h 00031 00032 #include "vtkFiltersSourcesModule.h" // For export macro 00033 #include "vtkPolyDataAlgorithm.h" 00034 class vtkOutlineCornerSource; 00035 00036 class VTKFILTERSSOURCES_EXPORT vtkOutlineCornerFilter : public vtkPolyDataAlgorithm 00037 { 00038 public: 00039 vtkTypeMacro(vtkOutlineCornerFilter,vtkPolyDataAlgorithm); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 static vtkOutlineCornerFilter *New(); 00044 00046 00048 vtkSetClampMacro(CornerFactor, double, 0.001, 0.5); 00049 vtkGetMacro(CornerFactor, double); 00051 00052 protected: 00053 vtkOutlineCornerFilter(); 00054 ~vtkOutlineCornerFilter(); 00055 00056 vtkOutlineCornerSource *OutlineCornerSource; 00057 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00058 virtual int FillInputPortInformation(int port, vtkInformation *info); 00059 00060 double CornerFactor; 00061 private: 00062 vtkOutlineCornerFilter(const vtkOutlineCornerFilter&); // Not implemented. 00063 void operator=(const vtkOutlineCornerFilter&); // Not implemented. 00064 }; 00065 00066 #endif
1.8.0