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 "vtkFiltersHybridModule.h" // For export macro 00032 #include "vtkPolyDataAlgorithm.h" 00033 00034 class VTKFILTERSHYBRID_EXPORT vtkEarthSource : public vtkPolyDataAlgorithm 00035 { 00036 public: 00037 static vtkEarthSource *New(); 00038 vtkTypeMacro(vtkEarthSource,vtkPolyDataAlgorithm); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 00043 vtkSetClampMacro(Radius,double,0.0,VTK_FLOAT_MAX); 00044 vtkGetMacro(Radius,double); 00046 00048 00051 vtkSetClampMacro(OnRatio,int,1,16); 00052 vtkGetMacro(OnRatio,int); 00054 00056 00060 vtkSetMacro(Outline,int); 00061 vtkGetMacro(Outline,int); 00062 vtkBooleanMacro(Outline,int); 00064 00065 protected: 00066 vtkEarthSource(); 00067 ~vtkEarthSource() {}; 00068 00069 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00070 00071 double Radius; 00072 int OnRatio; 00073 int Outline; 00074 private: 00075 vtkEarthSource(const vtkEarthSource&); // Not implemented. 00076 void operator=(const vtkEarthSource&); // Not implemented. 00077 }; 00078 00079 #endif 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089