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 =========================================================================*/ 00026 #ifndef __vtkOutlineCornerFilter_h 00027 #define __vtkOutlineCornerFilter_h 00028 00029 #include "vtkPolyDataAlgorithm.h" 00030 class vtkOutlineCornerSource; 00031 00032 class VTK_GRAPHICS_EXPORT vtkOutlineCornerFilter : public vtkPolyDataAlgorithm 00033 { 00034 public: 00035 vtkTypeRevisionMacro(vtkOutlineCornerFilter,vtkPolyDataAlgorithm); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 static vtkOutlineCornerFilter *New(); 00040 00042 00044 vtkSetClampMacro(CornerFactor, double, 0.001, 0.5); 00045 vtkGetMacro(CornerFactor, double); 00047 00048 protected: 00049 vtkOutlineCornerFilter(); 00050 ~vtkOutlineCornerFilter(); 00051 00052 vtkOutlineCornerSource *OutlineCornerSource; 00053 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00054 virtual int FillInputPortInformation(int port, vtkInformation *info); 00055 00056 double CornerFactor; 00057 private: 00058 vtkOutlineCornerFilter(const vtkOutlineCornerFilter&); // Not implemented. 00059 void operator=(const vtkOutlineCornerFilter&); // Not implemented. 00060 }; 00061 00062 #endif