VTK
9.1.0
Filters
Hybrid
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
=========================================================================*/
45
#ifndef vtkEarthSource_h
46
#define vtkEarthSource_h
47
48
#include "vtkFiltersHybridModule.h"
// For export macro
49
#include "
vtkPolyDataAlgorithm.h
"
50
51
class
VTKFILTERSHYBRID_EXPORT
vtkEarthSource
:
public
vtkPolyDataAlgorithm
52
{
53
public
:
54
static
vtkEarthSource
*
New
();
55
vtkTypeMacro(
vtkEarthSource
,
vtkPolyDataAlgorithm
);
56
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
57
59
62
vtkSetClampMacro(Radius,
double
, 0.0,
VTK_FLOAT_MAX
);
63
vtkGetMacro(Radius,
double
);
65
67
72
vtkSetClampMacro(OnRatio,
int
, 1, 16);
73
vtkGetMacro(OnRatio,
int
);
75
77
83
vtkSetMacro(Outline,
vtkTypeBool
);
84
vtkGetMacro(Outline,
vtkTypeBool
);
85
vtkBooleanMacro(Outline,
vtkTypeBool
);
87
88
protected
:
89
vtkEarthSource
();
90
~vtkEarthSource
()
override
=
default
;
91
92
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
93
94
double
Radius
;
95
int
OnRatio
;
96
vtkTypeBool
Outline
;
97
98
private
:
99
vtkEarthSource
(
const
vtkEarthSource
&) =
delete
;
100
void
operator=(
const
vtkEarthSource
&) =
delete
;
101
};
102
103
#endif
vtkEarthSource::Outline
vtkTypeBool Outline
Definition:
vtkEarthSource.h:96
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:145
vtkEarthSource::OnRatio
int OnRatio
Definition:
vtkEarthSource.h:95
vtkEarthSource::New
static vtkEarthSource * New()
vtkEarthSource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPolyDataAlgorithm.h
vtkEarthSource
create the continents of the Earth as a sphere
Definition:
vtkEarthSource.h:52
vtkEarthSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition:
vtkType.h:163
vtkEarthSource::vtkEarthSource
vtkEarthSource()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:183
vtkEarthSource::~vtkEarthSource
~vtkEarthSource() override=default
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkEarthSource::Radius
double Radius
Definition:
vtkEarthSource.h:94
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:151
Generated on Fri Nov 5 2021 00:11:06 for VTK by
1.8.20