VTK
dox
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
=========================================================================*/
26
#ifndef vtkEarthSource_h
27
#define vtkEarthSource_h
28
29
#include "vtkFiltersHybridModule.h"
// For export macro
30
#include "
vtkPolyDataAlgorithm.h
"
31
32
class
VTKFILTERSHYBRID_EXPORT
vtkEarthSource
:
public
vtkPolyDataAlgorithm
33
{
34
public
:
35
static
vtkEarthSource
*
New
();
36
vtkTypeMacro(
vtkEarthSource
,
vtkPolyDataAlgorithm
);
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
69
protected
:
70
vtkEarthSource
();
71
~vtkEarthSource
()
override
{}
72
73
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
74
75
double
Radius
;
76
int
OnRatio
;
77
vtkTypeBool
Outline
;
78
private
:
79
vtkEarthSource
(
const
vtkEarthSource
&) =
delete
;
80
void
operator=(
const
vtkEarthSource
&) =
delete
;
81
};
82
83
#endif
84
85
86
87
88
89
90
91
92
93
vtkEarthSource::Outline
vtkTypeBool Outline
Definition:
vtkEarthSource.h:77
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkEarthSource::OnRatio
int OnRatio
Definition:
vtkEarthSource.h:76
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkEarthSource
create the continents of the Earth as a sphere
Definition:
vtkEarthSource.h:32
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition:
vtkType.h:167
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
vtkEarthSource::~vtkEarthSource
~vtkEarthSource() override
Definition:
vtkEarthSource.h:71
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkEarthSource::Radius
double Radius
Definition:
vtkEarthSource.h:75
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:41
Generated by
1.8.16