VTK
dox/Geovis/vtkGeoView2D.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkGeoView2D.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00045 #include "vtkRenderView.h"
00046 
00047 class vtkAssembly;
00048 class vtkGeoTerrain2D;
00049 class vtkViewTheme;
00050 
00051 class VTK_GEOVIS_EXPORT vtkGeoView2D : public vtkRenderView
00052 {
00053 public:
00054   static vtkGeoView2D *New();
00055   vtkTypeMacro(vtkGeoView2D,vtkRenderView);
00056   virtual void PrintSelf( ostream& os, vtkIndent indent );
00057 
00058   vtkGeoView2D();
00059   ~vtkGeoView2D();
00060 
00061   vtkGetObjectMacro(Surface, vtkGeoTerrain2D);
00062   virtual void SetSurface(vtkGeoTerrain2D* surf);
00063 
00065   virtual vtkAbstractTransform* GetTransform();
00066 
00068   virtual void ApplyViewTheme(vtkViewTheme* theme);
00069 
00071   virtual void Render();
00072 
00073 protected:
00074   vtkGeoTerrain2D* Surface;
00075   vtkAssembly* Assembly;
00076 
00077   virtual void PrepareForRendering();
00078 
00079 private:
00080   vtkGeoView2D(const vtkGeoView2D&); // Not implemented
00081   void operator=(const vtkGeoView2D&); // Not implemented
00082 };
00083