00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOutlineCornerSource.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 =========================================================================*/ 00022 #ifndef __vtkOutlineCornerSource_h 00023 #define __vtkOutlineCornerSource_h 00024 00025 #include "vtkOutlineSource.h" 00026 00027 class VTK_GRAPHICS_EXPORT vtkOutlineCornerSource : public vtkOutlineSource 00028 { 00029 public: 00030 vtkTypeRevisionMacro(vtkOutlineCornerSource,vtkOutlineSource); 00031 void PrintSelf(ostream& os, vtkIndent indent); 00032 00034 static vtkOutlineCornerSource *New(); 00035 00037 00039 vtkSetClampMacro(CornerFactor, double, 0.001, 0.5); 00040 vtkGetMacro(CornerFactor, double); 00042 00043 protected: 00044 vtkOutlineCornerSource(); 00045 ~vtkOutlineCornerSource() {}; 00046 00047 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00048 00049 double CornerFactor; 00050 private: 00051 vtkOutlineCornerSource(const vtkOutlineCornerSource&); // Not implemented. 00052 void operator=(const vtkOutlineCornerSource&); // Not implemented. 00053 }; 00054 00055 #endif