00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGeoView2D.h,v $ 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 vtkTypeRevisionMacro(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 void ApplyViewTheme(vtkViewTheme* theme); 00066 00067 protected: 00068 vtkGeoTerrain2D* Surface; 00069 vtkAssembly* Assembly; 00070 00071 virtual void PrepareForRendering(); 00072 00074 virtual void AddRepresentationInternal(vtkDataRepresentation* rep); 00075 00076 private: 00077 vtkGeoView2D(const vtkGeoView2D&); // Not implemented 00078 void operator=(const vtkGeoView2D&); // Not implemented 00079 }; 00080