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