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