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
=========================================================================*/
29
#ifndef vtkEarthSource_h
30
#define vtkEarthSource_h
31
32
#include "vtkFiltersHybridModule.h"
// For export macro
33
#include "
vtkPolyDataAlgorithm.h
"
34
35
class
VTKFILTERSHYBRID_EXPORT
vtkEarthSource
:
public
vtkPolyDataAlgorithm
36
{
37
public
:
38
static
vtkEarthSource
*
New
();
39
vtkTypeMacro(
vtkEarthSource
,
vtkPolyDataAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
43
46
vtkSetClampMacro(Radius,
double
,0.0,
VTK_FLOAT_MAX
);
47
vtkGetMacro(Radius,
double
);
49
51
56
vtkSetClampMacro(OnRatio,
int
,1,16);
57
vtkGetMacro(OnRatio,
int
);
59
61
67
vtkSetMacro(Outline,
vtkTypeBool
);
68
vtkGetMacro(Outline,
vtkTypeBool
);
69
vtkBooleanMacro(Outline,
vtkTypeBool
);
71
72
protected
:
73
vtkEarthSource
();
74
~vtkEarthSource
()
override
{}
75
76
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
77
78
double
Radius
;
79
int
OnRatio
;
80
vtkTypeBool
Outline
;
81
private
:
82
vtkEarthSource
(
const
vtkEarthSource
&) =
delete
;
83
void
operator=(
const
vtkEarthSource
&) =
delete
;
84
};
85
86
#endif
87
88
89
90
91
92
93
94
95
96
vtkEarthSource::Outline
vtkTypeBool Outline
Definition:
vtkEarthSource.h:80
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkEarthSource::OnRatio
int OnRatio
Definition:
vtkEarthSource.h:79
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:35
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:39
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition:
vtkType.h:167
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkEarthSource::~vtkEarthSource
~vtkEarthSource() override
Definition:
vtkEarthSource.h:74
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkEarthSource::Radius
double Radius
Definition:
vtkEarthSource.h:78
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:44
Generated by
1.8.16