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