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 "vtkFiltersHybridModule.h" // For export macro
32 #include "vtkPolyDataAlgorithm.h"
33 
35 {
36 public:
37  static vtkEarthSource *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  vtkSetClampMacro(Radius,double,0.0,VTK_FLOAT_MAX);
44  vtkGetMacro(Radius,double);
46 
48 
51  vtkSetClampMacro(OnRatio,int,1,16);
52  vtkGetMacro(OnRatio,int);
54 
56 
60  vtkSetMacro(Outline,int);
61  vtkGetMacro(Outline,int);
62  vtkBooleanMacro(Outline,int);
64 
65 protected:
68 
70 
71  double Radius;
72  int OnRatio;
73  int Outline;
74 private:
75  vtkEarthSource(const vtkEarthSource&); // Not implemented.
76  void operator=(const vtkEarthSource&); // Not implemented.
77 };
78 
79 #endif
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_FLOAT_MAX
Definition: vtkType.h:138
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSHYBRID_EXPORT
Store zero or more vtkInformation instances.
create the continents of the Earth as a sphere