VTK  9.2.6
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=========================================================================*/
25
26#ifndef vtkEarthSource_h
27#define vtkEarthSource_h
28
29#include "vtkFiltersHybridModule.h" // For export macro
31
32class VTKFILTERSHYBRID_EXPORT vtkEarthSource : public vtkPolyDataAlgorithm
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
43 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
44 vtkGetMacro(Radius, double);
46
48
53 vtkSetClampMacro(OnRatio, int, 1, 16);
54 vtkGetMacro(OnRatio, int);
56
58
64 vtkSetMacro(Outline, vtkTypeBool);
65 vtkGetMacro(Outline, vtkTypeBool);
66 vtkBooleanMacro(Outline, vtkTypeBool);
68
69protected:
71 ~vtkEarthSource() override = default;
72
74
75 double Radius;
78
79private:
80 vtkEarthSource(const vtkEarthSource&) = delete;
81 void operator=(const vtkEarthSource&) = delete;
82};
83
84#endif
~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:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition vtkABI.h:69
#define VTK_FLOAT_MAX
Definition vtkType.h:163