VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
=========================================================================*/
28
#ifndef __vtkEarthSource_h
29
#define __vtkEarthSource_h
30
31
#include "vtkFiltersHybridModule.h"
// For export macro
32
#include "vtkPolyDataAlgorithm.h"
33
34
class
VTKFILTERSHYBRID_EXPORT
vtkEarthSource
:
public
vtkPolyDataAlgorithm
35
{
36
public
:
37
static
vtkEarthSource
*New();
38
vtkTypeMacro(
vtkEarthSource
,vtkPolyDataAlgorithm);
39
void
PrintSelf(ostream& os, vtkIndent indent);
40
42
43
vtkSetClampMacro(Radius,
double
,0.0,VTK_FLOAT_MAX);
44
vtkGetMacro(Radius,
double
);
46
48
51
vtkSetClampMacro(OnRatio,
int
,1,16);
52
vtkGetMacro(OnRatio,
int
);
54
56
60
vtkSetMacro(Outline,
int
);
61
vtkGetMacro(Outline,
int
);
62
vtkBooleanMacro(Outline,
int
);
64
65
protected
:
66
vtkEarthSource
();
67
~vtkEarthSource
() {};
68
69
int
RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
70
71
double
Radius
;
72
int
OnRatio
;
73
int
Outline
;
74
private
:
75
vtkEarthSource
(
const
vtkEarthSource
&);
// Not implemented.
76
void
operator=(
const
vtkEarthSource
&);
// Not implemented.
77
};
78
79
#endif
80
81
82
83
84
85
86
87
88
89
vtkEarthSource::OnRatio
int OnRatio
Definition:
vtkEarthSource.h:72
vtkEarthSource::Radius
double Radius
Definition:
vtkEarthSource.h:71
vtkEarthSource::~vtkEarthSource
~vtkEarthSource()
Definition:
vtkEarthSource.h:67
vtkEarthSource::Outline
int Outline
Definition:
vtkEarthSource.h:73
vtkEarthSource
create the continents of the Earth as a sphere
Definition:
vtkEarthSource.h:34
Generated on Sat May 10 2014 05:42:49 for VTK by
1.8.6