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 "vtkViewsGeovisModule.h" // For export macro
46 #include "vtkRenderView.h"
47 
48 class vtkAssembly;
49 class vtkGeoTerrain2D;
50 class vtkViewTheme;
51 
53 {
54 public:
55  static vtkGeoView2D *New();
57  virtual void PrintSelf( ostream& os, vtkIndent indent );
58 
61 
63  virtual void SetSurface(vtkGeoTerrain2D* surf);
64 
67 
69  virtual void ApplyViewTheme(vtkViewTheme* theme);
70 
72  virtual void Render();
73 
74 protected:
77 
78  virtual void PrepareForRendering();
79 
80 private:
81  vtkGeoView2D(const vtkGeoView2D&); // Not implemented
82  void operator=(const vtkGeoView2D&); // Not implemented
83 };
84 
vtkGeoView2D::Surface
vtkGeoTerrain2D * Surface
Definition: vtkGeoView2D.h:75
vtkGeoTerrain2D
A 2D terrain model for the globe.
Definition: vtkGeoTerrain2D.h:50
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkGeoView2D::SetSurface
virtual void SetSurface(vtkGeoTerrain2D *surf)
vtkRenderView
A view containing a renderer.
Definition: vtkRenderView.h:64
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:50
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkGeoView2D::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkRenderView.h
vtkGeoView2D::~vtkGeoView2D
~vtkGeoView2D()
vtkViewTheme
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:48
vtkGeoView2D::PrepareForRendering
virtual void PrepareForRendering()
vtkGeoView2D::Assembly
vtkAssembly * Assembly
Definition: vtkGeoView2D.h:76
vtkGeoView2D::ApplyViewTheme
virtual void ApplyViewTheme(vtkViewTheme *theme)
VTKVIEWSGEOVIS_EXPORT
#define VTKVIEWSGEOVIS_EXPORT
Definition: vtkViewsGeovisModule.h:15
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGeoView2D::vtkGeoView2D
vtkGeoView2D()
vtkGeoView2D
A 2D geospatial view.
Definition: vtkGeoView2D.h:53
vtkGeoView2D::New
static vtkGeoView2D * New()
vtkGeoView2D::Render
virtual void Render()
vtkGeoView2D::GetTransform
virtual vtkAbstractTransform * GetTransform()
vtkViewsGeovisModule.h
vtkAssembly
create hierarchies of vtkProp3Ds (transformable props)
Definition: vtkAssembly.h:75