VTK
|
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 "vtkViewsGeovisModule.h" // For export macro 00046 #include "vtkRenderView.h" 00047 00048 class vtkAssembly; 00049 class vtkGeoTerrain2D; 00050 class vtkViewTheme; 00051 00052 class VTKVIEWSGEOVIS_EXPORT vtkGeoView2D : public vtkRenderView 00053 { 00054 public: 00055 static vtkGeoView2D *New(); 00056 vtkTypeMacro(vtkGeoView2D,vtkRenderView); 00057 virtual void PrintSelf( ostream& os, vtkIndent indent ); 00058 00059 vtkGeoView2D(); 00060 ~vtkGeoView2D(); 00061 00062 vtkGetObjectMacro(Surface, vtkGeoTerrain2D); 00063 virtual void SetSurface(vtkGeoTerrain2D* surf); 00064 00066 virtual vtkAbstractTransform* GetTransform(); 00067 00069 virtual void ApplyViewTheme(vtkViewTheme* theme); 00070 00072 virtual void Render(); 00073 00074 protected: 00075 vtkGeoTerrain2D* Surface; 00076 vtkAssembly* Assembly; 00077 00078 virtual void PrepareForRendering(); 00079 00080 private: 00081 vtkGeoView2D(const vtkGeoView2D&); // Not implemented 00082 void operator=(const vtkGeoView2D&); // Not implemented 00083 }; 00084