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 #ifndef vtkGeoView2D_h
46 #define vtkGeoView2D_h
47 
48 #include "vtkViewsGeovisModule.h" // For export macro
49 #include "vtkRenderView.h"
50 
51 class vtkAssembly;
52 class vtkGeoTerrain2D;
53 class vtkViewTheme;
54 
55 class VTKVIEWSGEOVIS_EXPORT vtkGeoView2D : public vtkRenderView
56 {
57 public:
58  static vtkGeoView2D *New();
59  vtkTypeMacro(vtkGeoView2D,vtkRenderView);
60  virtual void PrintSelf( ostream& os, vtkIndent indent );
61 
62  vtkGeoView2D();
63  ~vtkGeoView2D();
64 
65  vtkGetObjectMacro(Surface, vtkGeoTerrain2D);
66  virtual void SetSurface(vtkGeoTerrain2D* surf);
67 
70 
72  virtual void ApplyViewTheme(vtkViewTheme* theme);
73 
75  virtual void Render();
76 
77 protected:
80 
81  virtual void PrepareForRendering();
82 
83 private:
84  vtkGeoView2D(const vtkGeoView2D&); // Not implemented
85  void operator=(const vtkGeoView2D&); // Not implemented
86 };
87 
88 #endif
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:47
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkGeoTerrain2D * Surface
Definition: vtkGeoView2D.h:78
vtkAssembly * Assembly
Definition: vtkGeoView2D.h:79
virtual void Render()
superclass for all geometric transformations
virtual void PrepareForRendering()
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:74
A view containing a renderer.
Definition: vtkRenderView.h:63
A 2D geospatial view.
Definition: vtkGeoView2D.h:55
void PrintSelf(ostream &os, vtkIndent indent)