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 =========================================================================*/ 00040 #ifndef __vtkOutlineCornerFilter_h 00041 #define __vtkOutlineCornerFilter_h 00042 00043 #include "vtkDataSetToPolyDataFilter.h" 00044 class vtkOutlineCornerSource; 00045 00046 class VTK_GRAPHICS_EXPORT vtkOutlineCornerFilter : public vtkDataSetToPolyDataFilter 00047 { 00048 public: 00049 vtkTypeRevisionMacro(vtkOutlineCornerFilter,vtkDataSetToPolyDataFilter); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00053 static vtkOutlineCornerFilter *New(); 00054 00056 00058 vtkSetClampMacro(CornerFactor, float, 0.001, 0.5); 00059 vtkGetMacro(CornerFactor, float); 00061 00062 protected: 00063 vtkOutlineCornerFilter(); 00064 ~vtkOutlineCornerFilter(); 00065 00066 vtkOutlineCornerSource *OutlineCornerSource; 00067 void Execute(); 00068 void ExecuteInformation(); 00069 00070 float CornerFactor; 00071 private: 00072 vtkOutlineCornerFilter(const vtkOutlineCornerFilter&); // Not implemented. 00073 void operator=(const vtkOutlineCornerFilter&); // Not implemented. 00074 }; 00075 00076 #endif 00077 00078