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 =========================================================================*/ 00030 #ifndef __vtkOutlineCornerFilter_h 00031 #define __vtkOutlineCornerFilter_h 00032 00033 #include "vtkDataSetToPolyDataFilter.h" 00034 class vtkOutlineCornerSource; 00035 00036 class VTK_GRAPHICS_EXPORT vtkOutlineCornerFilter : public vtkDataSetToPolyDataFilter 00037 { 00038 public: 00039 vtkTypeRevisionMacro(vtkOutlineCornerFilter,vtkDataSetToPolyDataFilter); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 static vtkOutlineCornerFilter *New(); 00044 00046 00048 vtkSetClampMacro(CornerFactor, float, 0.001, 0.5); 00049 vtkGetMacro(CornerFactor, float); 00051 00052 protected: 00053 vtkOutlineCornerFilter(); 00054 ~vtkOutlineCornerFilter(); 00055 00056 vtkOutlineCornerSource *OutlineCornerSource; 00057 void Execute(); 00058 void ExecuteInformation(); 00059 00060 float CornerFactor; 00061 private: 00062 vtkOutlineCornerFilter(const vtkOutlineCornerFilter&); // Not implemented. 00063 void operator=(const vtkOutlineCornerFilter&); // Not implemented. 00064 }; 00065 00066 #endif 00067 00068