VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkEarthSource.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 =========================================================================*/ 00028 #ifndef __vtkEarthSource_h 00029 #define __vtkEarthSource_h 00030 00031 #include "vtkPolyDataAlgorithm.h" 00032 00033 class VTK_HYBRID_EXPORT vtkEarthSource : public vtkPolyDataAlgorithm 00034 { 00035 public: 00036 static vtkEarthSource *New(); 00037 vtkTypeMacro(vtkEarthSource,vtkPolyDataAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00042 vtkSetClampMacro(Radius,double,0.0,VTK_LARGE_FLOAT); 00043 vtkGetMacro(Radius,double); 00045 00047 00050 vtkSetClampMacro(OnRatio,int,1,16); 00051 vtkGetMacro(OnRatio,int); 00053 00055 00059 vtkSetMacro(Outline,int); 00060 vtkGetMacro(Outline,int); 00061 vtkBooleanMacro(Outline,int); 00063 00064 protected: 00065 vtkEarthSource(); 00066 ~vtkEarthSource() {}; 00067 00068 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00069 00070 double Radius; 00071 int OnRatio; 00072 int Outline; 00073 private: 00074 vtkEarthSource(const vtkEarthSource&); // Not implemented. 00075 void operator=(const vtkEarthSource&); // Not implemented. 00076 }; 00077 00078 #endif 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088