VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
Geovis
vtkGeoView.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoView.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
-------------------------------------------------------------------------*/
48
#ifndef __vtkGeoView_h
49
#define __vtkGeoView_h
50
51
#include "vtkViewsGeovisModule.h"
// For export macro
52
#include "
vtkRenderView.h
"
53
54
class
vtkActor
;
55
class
vtkAssembly
;
56
class
vtkGeoAlignedImageRepresentation
;
57
class
vtkGeoInteractorStyle
;
58
class
vtkGeoTerrain
;
59
class
vtkGlobeSource
;
60
class
vtkImageData
;
61
class
vtkPolyDataMapper
;
62
class
vtkViewTheme
;
63
64
class
VTKVIEWSGEOVIS_EXPORT
vtkGeoView
:
public
vtkRenderView
65
{
66
public
:
67
static
vtkGeoView
*
New
();
68
vtkTypeMacro(
vtkGeoView
,
vtkRenderView
);
69
void
PrintSelf
(ostream& os,
vtkIndent
indent);
70
73
vtkGeoAlignedImageRepresentation
* AddDefaultImageRepresentation(
vtkImageData
*
image
);
74
76
virtual
void
PrepareForRendering
();
77
79
void
BuildLowResEarth(
double
origin[3] );
80
82
83
virtual
void
SetLockHeading(
bool
lock);
84
virtual
bool
GetLockHeading();
85
vtkBooleanMacro(LockHeading,
bool
);
87
89
vtkGeoInteractorStyle
* GetGeoInteractorStyle();
90
92
virtual
void
SetGeoInteractorStyle(
vtkGeoInteractorStyle
*
style
);
93
95
96
virtual
void
SetTerrain(
vtkGeoTerrain
* terrain);
97
vtkGetObjectMacro(Terrain,
vtkGeoTerrain
);
99
101
virtual
void
Render
();
102
103
protected
:
104
vtkGeoView
();
105
~
vtkGeoView
();
106
107
vtkGlobeSource
*
LowResEarthSource
;
108
vtkPolyDataMapper
*
LowResEarthMapper
;
109
vtkActor
*
LowResEarthActor
;
110
vtkAssembly
*
Assembly
;
111
vtkGeoTerrain
*
Terrain
;
112
113
int
UsingMesaDrivers
;
114
115
private
:
116
vtkGeoView
(
const
vtkGeoView
&);
// Not implemented.
117
void
operator=(
const
vtkGeoView
&);
// Not implemented.
118
};
119
120
#endif
121
Generated on Thu May 24 2012 22:22:37 for VTK by
1.8.1