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 -------------------------------------------------------------------------*/
46 #ifndef vtkGeoView2D_h
47 #define vtkGeoView2D_h
48 
49 #include "vtkViewsGeovisModule.h" // For export macro
50 #include "vtkRenderView.h"
51 
52 class vtkAssembly;
53 class vtkGeoTerrain2D;
54 class vtkViewTheme;
55 
56 class VTKVIEWSGEOVIS_EXPORT vtkGeoView2D : public vtkRenderView
57 {
58 public:
59  static vtkGeoView2D *New();
60  vtkTypeMacro(vtkGeoView2D,vtkRenderView);
61  virtual void PrintSelf( ostream& os, vtkIndent indent );
62 
65 
66  vtkGetObjectMacro(Surface, vtkGeoTerrain2D);
67  virtual void SetSurface(vtkGeoTerrain2D* surf);
68 
73 
77  virtual void ApplyViewTheme(vtkViewTheme* theme);
78 
82  virtual void Render();
83 
84 protected:
87 
88  virtual void PrepareForRendering();
89 
90 private:
91  vtkGeoView2D(const vtkGeoView2D&) VTK_DELETE_FUNCTION;
92  void operator=(const vtkGeoView2D&) VTK_DELETE_FUNCTION;
93 };
94 
95 #endif
vtkGeoView2D::Surface
vtkGeoTerrain2D * Surface
Definition: vtkGeoView2D.h:85
vtkGeoTerrain2D
A 2D terrain model for the globe.
Definition: vtkGeoTerrain2D.h:51
vtkGeoView2D::SetSurface
virtual void SetSurface(vtkGeoTerrain2D *surf)
vtkRenderView
A view containing a renderer.
Definition: vtkRenderView.h:62
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:51
vtkGeoView2D::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkRenderView.h
vtkGeoView2D::~vtkGeoView2D
~vtkGeoView2D()
vtkViewTheme
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:49
vtkGeoView2D::PrepareForRendering
virtual void PrepareForRendering()
Called by the view when the renderer is about to render.
vtkGeoView2D::Assembly
vtkAssembly * Assembly
Definition: vtkGeoView2D.h:86
vtkGeoView2D::ApplyViewTheme
virtual void ApplyViewTheme(vtkViewTheme *theme)
Apply the view theme to this view.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkGeoView2D::vtkGeoView2D
vtkGeoView2D()
vtkGeoView2D
A 2D geospatial view.
Definition: vtkGeoView2D.h:57
vtkGeoView2D::New
static vtkGeoView2D * New()
vtkGeoView2D::Render
virtual void Render()
Update and render the view.
vtkGeoView2D::GetTransform
virtual vtkAbstractTransform * GetTransform()
Returns the transform associated with the surface.
vtkAssembly
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:76