<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: dox/Geovis/vtkGeoView.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>dox/Geovis/vtkGeoView.h</h1><a href="a02458.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"> Program: Visualization Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: vtkGeoView.h,v $</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span> <a name="l00007"></a>00007 <span class="comment"> All rights reserved.</span> <a name="l00008"></a>00008 <span class="comment"> See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00011"></a>00011 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00012"></a>00012 <span class="comment"> PURPOSE. See the above copyright notice for more information.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span> <a name="l00015"></a>00015 <span class="comment">/*-------------------------------------------------------------------------</span> <a name="l00016"></a>00016 <span class="comment"> Copyright 2008 Sandia Corporation.</span> <a name="l00017"></a>00017 <span class="comment"> Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,</span> <a name="l00018"></a>00018 <span class="comment"> the U.S. Government retains certain rights in this software.</span> <a name="l00019"></a>00019 <span class="comment">-------------------------------------------------------------------------*/</span> <a name="l00045"></a>00045 <span class="preprocessor">#ifndef __vtkGeoView_h</span> <a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGeoView_h</span> <a name="l00047"></a>00047 <span class="preprocessor"></span> <a name="l00048"></a>00048 <span class="preprocessor">#include "<a class="code" href="a03593.html">vtkRenderView.h</a>"</span> <a name="l00049"></a>00049 <a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a>; <a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="a00141.html" title="create hierarchies of vtkProp3Ds (transformable props)">vtkAssembly</a>; <a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="a00610.html" title="A multi-resolution image tree.">vtkGeoAlignedImageRepresentation</a>; <a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="a00624.html" title="Interaction for a globe.">vtkGeoInteractorStyle</a>; <a name="l00054"></a>00054 <span class="keyword">class </span><a class="code" href="a00634.html" title="A 3D terrain model for the globe.">vtkGeoTerrain</a>; <a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="a00643.html" title="Sphere patch with Lat/Long scalar array.">vtkGlobeSource</a>; <a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>; <a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>; <a name="l00058"></a>00058 <span class="keyword">class </span><a class="code" href="a01489.html" title="create a window for renderers to draw into">vtkRenderWindow</a>; <a name="l00059"></a>00059 <span class="keyword">class </span><a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>; <a name="l00060"></a>00060 <a name="l00061"></a><a class="code" href="a00639.html">00061</a> <span class="keyword">class </span><a class="code" href="a02170.html#a46c0c05c9ad9271ed6829efc6b364cf">VTK_GEOVIS_EXPORT</a> <a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a> : <span class="keyword">public</span> <a class="code" href="a01488.html" title="A view containing a renderer.">vtkRenderView</a> <a name="l00062"></a>00062 { <a name="l00063"></a>00063 <span class="keyword">public</span>: <a name="l00064"></a>00064 <span class="keyword">static</span> <a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a> *<a class="code" href="a01488.html#931584bc975a6a807e93661fe251238f">New</a>(); <a name="l00065"></a><a class="code" href="a00639.html#25cda1de97bd3363c69b9875aa859ed0">00065</a> vtkTypeRevisionMacro(<a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a>, <a class="code" href="a01488.html" title="A view containing a renderer.">vtkRenderView</a>); <a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="a01488.html#d97770ba5b8d8a43cb78530679a225de">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00067"></a>00067 <a name="l00070"></a>00070 <a class="code" href="a00610.html" title="A multi-resolution image tree.">vtkGeoAlignedImageRepresentation</a>* AddDefaultImageRepresentation(<a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210cf2918d8c9015394a60a23572e257359">image</a>); <a name="l00071"></a>00071 <a name="l00075"></a>00075 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01488.html#9670255214d3de47b7ad6bc0fdd43106">SetupRenderWindow</a>(<a class="code" href="a01489.html" title="create a window for renderers to draw into">vtkRenderWindow</a>* win); <a name="l00076"></a>00076 <a name="l00078"></a>00078 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01488.html#9f41f57fdb747ff88e2862a613de126e">PrepareForRendering</a>(); <a name="l00079"></a>00079 <a name="l00081"></a>00081 <span class="keywordtype">void</span> BuildLowResEarth( <span class="keywordtype">double</span> origin[3] ); <a name="l00082"></a>00082 <a name="l00084"></a>00084 <a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetLockHeading(<span class="keywordtype">bool</span> lock); <a name="l00086"></a>00086 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetLockHeading(); <a name="l00087"></a>00087 vtkBooleanMacro(LockHeading, <span class="keywordtype">bool</span>); <a name="l00089"></a>00089 <a name="l00091"></a>00091 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01488.html#d3bfc14e5e52d843f63fe9c88c1d49df">ApplyViewTheme</a>(<a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>* theme); <a name="l00092"></a>00092 <a name="l00094"></a>00094 <a class="code" href="a00624.html" title="Interaction for a globe.">vtkGeoInteractorStyle</a>* GetGeoInteractorStyle(); <a name="l00095"></a>00095 <a name="l00097"></a>00097 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetGeoInteractorStyle(<a class="code" href="a00624.html" title="Interaction for a globe.">vtkGeoInteractorStyle</a>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210ae803d5b93399111167ac9ea879584a4">style</a>); <a name="l00098"></a>00098 <a name="l00100"></a>00100 <a name="l00101"></a>00101 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTerrain(<a class="code" href="a00634.html" title="A 3D terrain model for the globe.">vtkGeoTerrain</a>* terrain); <a name="l00102"></a>00102 vtkGetObjectMacro(Terrain, <a class="code" href="a00634.html" title="A 3D terrain model for the globe.">vtkGeoTerrain</a>); <a name="l00104"></a>00104 <a name="l00105"></a>00105 <span class="keyword">protected</span>: <a name="l00106"></a>00106 <a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a>(); <a name="l00107"></a>00107 ~<a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a>(); <a name="l00108"></a>00108 <a name="l00109"></a><a class="code" href="a00639.html#0b6780d2e3dbdcb49dd214965d7e24f9">00109</a> <a class="code" href="a01489.html" title="create a window for renderers to draw into">vtkRenderWindow</a>* RenderWindow; <a name="l00110"></a><a class="code" href="a00639.html#2af6fed3fbbad0d7ed9e6b8dab4a2ec0">00110</a> <a class="code" href="a00643.html" title="Sphere patch with Lat/Long scalar array.">vtkGlobeSource</a>* LowResEarthSource; <a name="l00111"></a><a class="code" href="a00639.html#fac654ea78f9e988b50be7fde6837cc2">00111</a> <a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>* LowResEarthMapper; <a name="l00112"></a><a class="code" href="a00639.html#148ab4f9d95a88090d8689c7c8333bd5">00112</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a>* LowResEarthActor; <a name="l00113"></a><a class="code" href="a00639.html#9f595ecb047f345e7d6783dab6c5fb14">00113</a> <a class="code" href="a00141.html" title="create hierarchies of vtkProp3Ds (transformable props)">vtkAssembly</a>* Assembly; <a name="l00114"></a><a class="code" href="a00639.html#b9b10a661d56e0d096c545d544bc3208">00114</a> <a class="code" href="a00634.html" title="A 3D terrain model for the globe.">vtkGeoTerrain</a>* Terrain; <a name="l00115"></a>00115 <a name="l00116"></a>00116 <span class="keyword">private</span>: <a name="l00117"></a>00117 <a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a>(<span class="keyword">const</span> <a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a>&); <span class="comment">// Not implemented.</span> <a name="l00118"></a>00118 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00639.html" title="A 3D geospatial view.">vtkGeoView</a>&); <span class="comment">// Not implemented.</span> <a name="l00119"></a>00119 }; <a name="l00120"></a>00120 <a name="l00121"></a>00121 <span class="preprocessor">#endif</span> <a name="l00122"></a>00122 <span class="preprocessor"></span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:24 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>