VTK  9.4.20250313
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
36#ifndef vtkEarthSource_h
37#define vtkEarthSource_h
38
39#include "vtkFiltersHybridModule.h" // For export macro
41
42VTK_ABI_NAMESPACE_BEGIN
43class VTKFILTERSHYBRID_EXPORT vtkEarthSource : public vtkPolyDataAlgorithm
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
54 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
55 vtkGetMacro(Radius, double);
57
59
64 vtkSetClampMacro(OnRatio, int, 1, 16);
65 vtkGetMacro(OnRatio, int);
67
69
75 vtkSetMacro(Outline, vtkTypeBool);
76 vtkGetMacro(Outline, vtkTypeBool);
77 vtkBooleanMacro(Outline, vtkTypeBool);
79
80protected:
82 ~vtkEarthSource() override = default;
83
85
86 double Radius;
89
90private:
91 vtkEarthSource(const vtkEarthSource&) = delete;
92 void operator=(const vtkEarthSource&) = delete;
93};
94
95VTK_ABI_NAMESPACE_END
96#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:108
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:169