VTK  9.3.1
vtkEarthSource.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkEarthSource_h
18 #define vtkEarthSource_h
19 
20 #include "vtkFiltersHybridModule.h" // For export macro
21 #include "vtkPolyDataAlgorithm.h"
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKFILTERSHYBRID_EXPORT vtkEarthSource : public vtkPolyDataAlgorithm
25 {
26 public:
27  static vtkEarthSource* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
35  vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
36  vtkGetMacro(Radius, double);
38 
40 
45  vtkSetClampMacro(OnRatio, int, 1, 16);
46  vtkGetMacro(OnRatio, int);
48 
50 
56  vtkSetMacro(Outline, vtkTypeBool);
57  vtkGetMacro(Outline, vtkTypeBool);
58  vtkBooleanMacro(Outline, vtkTypeBool);
60 
61 protected:
63  ~vtkEarthSource() override = default;
64 
66 
67  double Radius;
68  int OnRatio;
70 
71 private:
72  vtkEarthSource(const vtkEarthSource&) = delete;
73  void operator=(const vtkEarthSource&) = delete;
74 };
75 
76 VTK_ABI_NAMESPACE_END
77 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
#define VTK_FLOAT_MAX
Definition: vtkType.h:152
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
vtkTypeBool Outline
create the continents of the Earth as a sphere
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.