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