VTK  9.1.0
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=========================================================================*/
35#ifndef vtkEarthSource_h
36#define vtkEarthSource_h
37
38#include "vtkFiltersHybridModule.h" // For export macro
40
41class VTKFILTERSHYBRID_EXPORT vtkEarthSource : public vtkPolyDataAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
52 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
53 vtkGetMacro(Radius, double);
55
57
62 vtkSetClampMacro(OnRatio, int, 1, 16);
63 vtkGetMacro(OnRatio, int);
65
67
73 vtkSetMacro(Outline, vtkTypeBool);
74 vtkGetMacro(Outline, vtkTypeBool);
75 vtkBooleanMacro(Outline, vtkTypeBool);
77
78protected:
80 ~vtkEarthSource() override = default;
81
83
84 double Radius;
87
88private:
89 vtkEarthSource(const vtkEarthSource&) = delete;
90 void operator=(const vtkEarthSource&) = delete;
91};
92
93#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:43
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:69
#define VTK_FLOAT_MAX
Definition: vtkType.h:163