00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOutlineCornerFilter.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 __vtkOutlineCornerFilter_h 00042 #define __vtkOutlineCornerFilter_h 00043 00044 #include "vtkDataSetToPolyDataFilter.h" 00045 class vtkOutlineCornerSource; 00046 00047 class VTK_GRAPHICS_EXPORT vtkOutlineCornerFilter : public vtkDataSetToPolyDataFilter 00048 { 00049 public: 00050 vtkTypeRevisionMacro(vtkOutlineCornerFilter,vtkDataSetToPolyDataFilter); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 static vtkOutlineCornerFilter *New(); 00055 00057 00059 vtkSetClampMacro(CornerFactor, float, 0.001, 0.5); 00060 vtkGetMacro(CornerFactor, float); 00062 00063 protected: 00064 vtkOutlineCornerFilter(); 00065 ~vtkOutlineCornerFilter(); 00066 00067 vtkOutlineCornerSource *OutlineCornerSource; 00068 void Execute(); 00069 void ExecuteInformation(); 00070 00071 float CornerFactor; 00072 private: 00073 vtkOutlineCornerFilter(const vtkOutlineCornerFilter&); // Not implemented. 00074 void operator=(const vtkOutlineCornerFilter&); // Not implemented. 00075 }; 00076 00077 #endif 00078 00079