VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOutlineCornerSource.h 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 =========================================================================*/ 00025 #ifndef vtkOutlineCornerSource_h 00026 #define vtkOutlineCornerSource_h 00027 00028 #include "vtkFiltersSourcesModule.h" // For export macro 00029 #include "vtkOutlineSource.h" 00030 00031 class VTKFILTERSSOURCES_EXPORT vtkOutlineCornerSource : public vtkOutlineSource 00032 { 00033 public: 00034 vtkTypeMacro(vtkOutlineCornerSource,vtkOutlineSource); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 static vtkOutlineCornerSource *New(); 00039 00041 00043 vtkSetClampMacro(CornerFactor, double, 0.001, 0.5); 00044 vtkGetMacro(CornerFactor, double); 00046 00048 00052 vtkSetMacro(OutputPointsPrecision,int); 00053 vtkGetMacro(OutputPointsPrecision,int); 00055 00056 protected: 00057 vtkOutlineCornerSource(); 00058 ~vtkOutlineCornerSource() {} 00059 00060 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00061 00062 double CornerFactor; 00063 int OutputPointsPrecision; 00064 private: 00065 vtkOutlineCornerSource(const vtkOutlineCornerSource&); // Not implemented. 00066 void operator=(const vtkOutlineCornerSource&); // Not implemented. 00067 }; 00068 00069 #endif