VTK
vtkGeoView2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoView2D.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 -------------------------------------------------------------------------*/
45 #include "vtkRenderView.h"
46 
47 class vtkAssembly;
48 class vtkGeoTerrain2D;
49 class vtkViewTheme;
50 
52 {
53 public:
54  static vtkGeoView2D *New();
55  vtkTypeMacro(vtkGeoView2D,vtkRenderView);
56  virtual void PrintSelf( ostream& os, vtkIndent indent );
57 
58  vtkGeoView2D();
59  ~vtkGeoView2D();
60 
61  vtkGetObjectMacro(Surface, vtkGeoTerrain2D);
62  virtual void SetSurface(vtkGeoTerrain2D* surf);
63 
66 
68  virtual void ApplyViewTheme(vtkViewTheme* theme);
69 
71  virtual void Render();
72 
73 protected:
76 
77  virtual void PrepareForRendering();
78 
79 private:
80  vtkGeoView2D(const vtkGeoView2D&); // Not implemented
81  void operator=(const vtkGeoView2D&); // Not implemented
82 };
83 
virtual vtkAbstractTransform * GetTransform()
A 2D terrain model for the globe.
virtual void ApplyViewTheme(vtkViewTheme *theme)
static vtkRenderView * New()
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:46
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkGeoTerrain2D * Surface
Definition: vtkGeoView2D.h:74
vtkAssembly * Assembly
Definition: vtkGeoView2D.h:75
virtual void Render()
#define VTK_GEOVIS_EXPORT
superclass for all geometric transformations
virtual void PrepareForRendering()
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:73
A view containing a renderer.
Definition: vtkRenderView.h:62
A 2D geospatial view.
Definition: vtkGeoView2D.h:51
void PrintSelf(ostream &os, vtkIndent indent)