VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Geovis
vtkGeoProjection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoProjection.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
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
31
#ifndef __vtkGeoProjection_h
32
#define __vtkGeoProjection_h
33
34
#include "
vtkObject.h
"
35
36
struct
PROJconsts;
37
typedef
PROJconsts
PROJ
;
38
39
class
VTK_GEOVIS_EXPORT
vtkGeoProjection
:
public
vtkObject
40
{
41
public
:
42
static
vtkGeoProjection
*
New
();
43
virtual
void
PrintSelf
( ostream& os,
vtkIndent
indent );
44
vtkTypeMacro(
vtkGeoProjection
,
vtkObject
);
45
47
static
int
GetNumberOfProjections();
48
52
static
const
char
* GetProjectionName(
int
projection );
53
57
static
const
char
* GetProjectionDescription(
int
projection );
58
60
64
vtkSetStringMacro(Name);
65
vtkGetStringMacro(Name);
67
71
int
GetIndex();
72
75
const
char
* GetDescription();
76
78
80
vtkSetMacro(CentralMeridian,
double
);
81
vtkGetMacro(CentralMeridian,
double
);
83
92
PROJ
* GetProjection();
93
94
protected
:
95
vtkGeoProjection
();
96
virtual
~
vtkGeoProjection
();
97
101
virtual
int
UpdateProjection();
102
103
char
*
Name
;
104
double
CentralMeridian
;
105
PROJ
*
Projection
;
106
vtkTimeStamp
ProjectionMTime
;
107
108
private
:
109
vtkGeoProjection
(
const
vtkGeoProjection
& );
// Not implemented.
110
void
operator = (
const
vtkGeoProjection
& );
// Not implemented.
111
};
112
113
#endif // __vtkGeoProjection_h
Generated on Wed Nov 21 2012 21:33:47 for VTK by
1.8.2