VTK
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;
58 class vtkGeoTerrain;
59 class vtkGlobeSource;
60 class vtkImageData;
61 class vtkPolyDataMapper;
62 class vtkViewTheme;
63 
65 {
66 public:
67  static vtkGeoView *New();
69  void PrintSelf(ostream& os, vtkIndent indent);
70 
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 
90 
93 
95 
96  virtual void SetTerrain(vtkGeoTerrain* terrain);
99 
101  virtual void Render();
102 
103 protected:
106 
112 
114 
115 private:
116  vtkGeoView(const vtkGeoView&); // Not implemented.
117  void operator=(const vtkGeoView&); // Not implemented.
118 };
119 
120 #endif
121 
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:42
vtkGeoView::~vtkGeoView
~vtkGeoView()
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkGeoView::UsingMesaDrivers
int UsingMesaDrivers
Definition: vtkGeoView.h:113
vtkGeoView::LowResEarthSource
vtkGlobeSource * LowResEarthSource
Definition: vtkGeoView.h:107
vtkRenderView
A view containing a renderer.
Definition: vtkRenderView.h:64
vtkGeoView::GetGeoInteractorStyle
vtkGeoInteractorStyle * GetGeoInteractorStyle()
vtkGeoView::AddDefaultImageRepresentation
vtkGeoAlignedImageRepresentation * AddDefaultImageRepresentation(vtkImageData *image)
vtkGeoTerrain
A 3D terrain model for the globe.
Definition: vtkGeoTerrain.h:51
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkX3D::style
@ style
Definition: vtkX3D.h:492
vtkGeoView::SetTerrain
virtual void SetTerrain(vtkGeoTerrain *terrain)
vtkRenderView.h
vtkGeoView::SetLockHeading
virtual void SetLockHeading(bool lock)
vtkGeoView::LowResEarthActor
vtkActor * LowResEarthActor
Definition: vtkGeoView.h:109
vtkGlobeSource
Sphere patch with Lat/Long scalar array.
Definition: vtkGlobeSource.h:50
vtkViewTheme
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:48
vtkGeoView::GetLockHeading
virtual bool GetLockHeading()
vtkGeoView::Terrain
vtkGeoTerrain * Terrain
Definition: vtkGeoView.h:111
vtkGeoView
A 3D geospatial view.
Definition: vtkGeoView.h:65
vtkGeoView::SetGeoInteractorStyle
virtual void SetGeoInteractorStyle(vtkGeoInteractorStyle *style)
vtkGeoView::PrepareForRendering
virtual void PrepareForRendering()
VTKVIEWSGEOVIS_EXPORT
#define VTKVIEWSGEOVIS_EXPORT
Definition: vtkViewsGeovisModule.h:15
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGeoView::vtkGeoView
vtkGeoView()
vtkGeoView::New
static vtkGeoView * New()
vtkGeoAlignedImageRepresentation
A multi-resolution image tree.
Definition: vtkGeoAlignedImageRepresentation.h:44
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkGeoView::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGeoView::LowResEarthMapper
vtkPolyDataMapper * LowResEarthMapper
Definition: vtkGeoView.h:108
vtkGeoView::Render
virtual void Render()
vtkViewsGeovisModule.h
vtkGeoInteractorStyle
Interaction for a globe.
Definition: vtkGeoInteractorStyle.h:50
vtkGeoView::Assembly
vtkAssembly * Assembly
Definition: vtkGeoView.h:110
vtkgl::image
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: vtkgl.h:11341
vtkAssembly
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:75
vtkGeoView::BuildLowResEarth
void BuildLowResEarth(double origin[3])