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 "vtkRenderView.h"
52 
53 class vtkActor;
54 class vtkAssembly;
57 class vtkGeoTerrain;
58 class vtkGlobeSource;
59 class vtkImageData;
60 class vtkPolyDataMapper;
61 class vtkViewTheme;
62 
64 {
65 public:
66  static vtkGeoView *New();
67  vtkTypeMacro(vtkGeoView, vtkRenderView);
68  void PrintSelf(ostream& os, vtkIndent indent);
69 
72  vtkGeoAlignedImageRepresentation* AddDefaultImageRepresentation(vtkImageData* image);
73 
75  virtual void PrepareForRendering();
76 
78  void BuildLowResEarth( double origin[3] );
79 
81 
82  virtual void SetLockHeading(bool lock);
83  virtual bool GetLockHeading();
84  vtkBooleanMacro(LockHeading, bool);
86 
88  vtkGeoInteractorStyle* GetGeoInteractorStyle();
89 
91  virtual void SetGeoInteractorStyle(vtkGeoInteractorStyle* style);
92 
94 
95  virtual void SetTerrain(vtkGeoTerrain* terrain);
96  vtkGetObjectMacro(Terrain, vtkGeoTerrain);
98 
100  virtual void Render();
101 
102 protected:
103  vtkGeoView();
104  ~vtkGeoView();
105 
111 
113 
114 private:
115  vtkGeoView(const vtkGeoView&); // Not implemented.
116  void operator=(const vtkGeoView&); // Not implemented.
117 };
118 
119 #endif
120