VTK  9.3.0
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
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKFILTERSHYBRID_EXPORT vtkEarthSource : public vtkPolyDataAlgorithm
25{
26public:
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
61protected:
63 ~vtkEarthSource() override = default;
64
66
67 double Radius;
70
71private:
72 vtkEarthSource(const vtkEarthSource&) = delete;
73 void operator=(const vtkEarthSource&) = delete;
74};
75
76VTK_ABI_NAMESPACE_END
77#endif
create the continents of the Earth as a sphere
~vtkEarthSource() override=default
static vtkEarthSource * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool Outline
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_FLOAT_MAX
Definition vtkType.h:152