VTK
vtkEarthSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkEarthSource.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef __vtkEarthSource_h
29 #define __vtkEarthSource_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 
34 {
35 public:
36  static vtkEarthSource *New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
42  vtkSetClampMacro(Radius,double,0.0,VTK_LARGE_FLOAT);
43  vtkGetMacro(Radius,double);
45 
47 
50  vtkSetClampMacro(OnRatio,int,1,16);
51  vtkGetMacro(OnRatio,int);
53 
55 
59  vtkSetMacro(Outline,int);
60  vtkGetMacro(Outline,int);
61  vtkBooleanMacro(Outline,int);
63 
64 protected:
67 
69 
70  double Radius;
71  int OnRatio;
72  int Outline;
73 private:
74  vtkEarthSource(const vtkEarthSource&); // Not implemented.
75  void operator=(const vtkEarthSource&); // Not implemented.
76 };
77 
78 #endif
79 
80 
81 
82 
83 
84 
85 
86 
87 
88