<!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/vtkGeoLineRepresentation.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/vtkGeoLineRepresentation.h</h1><a href="a02446.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: vtkGeoLineRepresentation.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="l00030"></a>00030 <span class="preprocessor">#ifndef __vtkGeoLineRepresentation_h</span> <a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define __vtkGeoLineRepresentation_h</span> <a name="l00032"></a>00032 <span class="preprocessor"></span> <a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="a03589.html">vtkDataRepresentation.h</a>"</span> <a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="a02127.html">vtkSmartPointer.h</a>"</span> <span class="comment">// For ivars</span> <a name="l00035"></a>00035 <a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a>; <a name="l00037"></a>00037 <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="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>; <a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>; <a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="a00519.html" title="extract a subset from a vtkDataSet.">vtkExtractSelection</a>; <a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="a00612.html" title="layout graph edges on a globe as arcs.">vtkGeoArcs</a>; <a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="a00613.html" title="Given latitude and longitude arrays, take the values in those arrays and convert...">vtkGeoAssignCoordinates</a>; <a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="a00632.html" title="Samples geospatial lines at regular intervals.">vtkGeoSampleArcs</a>; <a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="a00628.html" title="extract geometry from data (or convert data to polygonal type)">vtkGeometryFilter</a>; <a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>; <a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="a01522.html" title="A node in a selection tree. Used to store selection results.">vtkSelection</a>; <a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="a01825.html" title="Make a vtkPolyData with a vertex on each point.">vtkVertexGlyphFilter</a>; <a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a>; <a name="l00049"></a>00049 <a name="l00050"></a><a class="code" href="a00625.html">00050</a> <span class="keyword">class </span><a class="code" href="a02170.html#a46c0c05c9ad9271ed6829efc6b364cf">VTK_GEOVIS_EXPORT</a> <a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a> : <span class="keyword">public</span> <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a> <a name="l00051"></a>00051 { <a name="l00052"></a>00052 <span class="keyword">public</span>: <a name="l00053"></a>00053 <span class="keyword">static</span> <a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a> *<a class="code" href="a00373.html#0866970c996eaea64255991141f14906">New</a>(); <a name="l00054"></a><a class="code" href="a00625.html#018b8a29e3e658f6e470019c6d90bd81">00054</a> vtkTypeRevisionMacro(<a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a>, <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>); <a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="a00373.html#fc4d591589c67435e8a481e64b4949a3">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00056"></a>00056 <a name="l00058"></a>00058 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00373.html#eac1b46877521662870da5c833c019be">SetInputConnection</a>(<a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a> *conn); <a name="l00059"></a>00059 <a name="l00061"></a>00061 <a name="l00062"></a>00062 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetLatitudeArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00063"></a>00063 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetLatitudeArrayName(); <a name="l00065"></a>00065 <a name="l00067"></a>00067 <a name="l00068"></a>00068 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetLongitudeArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00069"></a>00069 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetLongitudeArrayName(); <a name="l00071"></a>00071 <a name="l00073"></a>00073 <a name="l00075"></a>00075 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetPointVisibility(<span class="keywordtype">bool</span> b); <a name="l00076"></a>00076 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetPointVisibility(); <a name="l00077"></a>00077 vtkBooleanMacro(PointVisibility, <span class="keywordtype">bool</span>); <a name="l00079"></a>00079 <a name="l00081"></a>00081 <span class="keyword">virtual</span> <span class="keywordtype">void</span> PrepareForRendering(); <a name="l00082"></a>00082 <a name="l00084"></a>00084 <a name="l00087"></a>00087 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetCoordinatesInArrays(<span class="keywordtype">bool</span> b); <a name="l00088"></a>00088 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetCoordinatesInArrays(); <a name="l00089"></a>00089 vtkBooleanMacro(CoordinatesInArrays, <span class="keywordtype">bool</span>); <a name="l00091"></a>00091 <a name="l00093"></a>00093 <a name="l00095"></a>00095 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTransform(<a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a>* transform); <a name="l00096"></a>00096 <span class="keyword">virtual</span> <a class="code" href="a00089.html" title="superclass for all geometric transformations">vtkAbstractTransform</a>* GetTransform(); <a name="l00098"></a>00098 <a name="l00099"></a>00099 <span class="keyword">protected</span>: <a name="l00100"></a>00100 <a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a>(); <a name="l00101"></a>00101 ~<a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a>(); <a name="l00102"></a>00102 <a name="l00105"></a>00105 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a00373.html#9959b0453d651b390c11e9828ad8e111">AddToView</a>(<a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a> *view); <a name="l00106"></a>00106 <a name="l00109"></a>00109 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a00373.html#3123cef489f6f49709b59404bfcb177b">RemoveFromView</a>(<a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a> *view); <a name="l00110"></a>00110 <a name="l00114"></a>00114 <span class="keyword">virtual</span> <a class="code" href="a01522.html" title="A node in a selection tree. Used to store selection results.">vtkSelection</a> *<a class="code" href="a00373.html#d68233c07a24ffdbcae7d8dbea399f92">ConvertSelection</a>(<a class="code" href="a01830.html" title="The superclass for all views.">vtkView</a> *view, <a class="code" href="a01522.html" title="A node in a selection tree. Used to store selection results.">vtkSelection</a> *selection); <a name="l00115"></a>00115 <a name="l00116"></a>00116 <span class="comment">//BTX</span> <a name="l00117"></a>00117 <a name="l00119"></a>00119 <a name="l00120"></a><a class="code" href="a00625.html#b4eea30b25385618045c0ef823ea3024">00120</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGeometryFilter></a> GeometryFilter; <a name="l00121"></a><a class="code" href="a00625.html#768ca7b3db31b6c3854f8a0944b351a2">00121</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGeoAssignCoordinates></a> AssignCoordinates; <a name="l00122"></a><a class="code" href="a00625.html#967534b3e2debacf93a46e8a7020e23a">00122</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGeoSampleArcs></a> GeoSampleArcs; <a name="l00123"></a><a class="code" href="a00625.html#2c2fcb9fe332ab93e15f3d0f6955b6f6">00123</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkPolyDataMapper></a> Mapper; <a name="l00124"></a><a class="code" href="a00625.html#d2bfd12f9c19be6bfb8d17abf2c71b4c">00124</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor></a> Actor; <a name="l00125"></a><a class="code" href="a00625.html#408444abd4d63cfcfcc728c77eac117f">00125</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkExtractSelection></a> ExtractSelection; <a name="l00126"></a><a class="code" href="a00625.html#8fa9b7e59d882c4eec1a8be26d7b21e0">00126</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGeometryFilter></a> SelectionGeometryFilter; <a name="l00127"></a><a class="code" href="a00625.html#1a0dd97340629814305744b20b6f34fd">00127</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGeoAssignCoordinates></a> SelectionAssignCoords; <a name="l00128"></a><a class="code" href="a00625.html#7db3f692c11bbbec409b45cfdb7f46d0">00128</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGeoSampleArcs></a> SelectionGeoSampleArcs; <a name="l00129"></a><a class="code" href="a00625.html#4efc1d4ef1b8ba1ff58978d166275132">00129</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkPolyDataMapper></a> SelectionMapper; <a name="l00130"></a><a class="code" href="a00625.html#124b27b9f3108a7c14568232d1c2de14">00130</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor></a> SelectionActor; <a name="l00131"></a><a class="code" href="a00625.html#25526c6801d6f2fc30c8c889cf3e242f">00131</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkVertexGlyphFilter></a> VertexGlyphFilter; <a name="l00132"></a><a class="code" href="a00625.html#b4c7987d17c6a2af801dc1a0014440a4">00132</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkPolyDataMapper></a> VertexMapper; <a name="l00133"></a><a class="code" href="a00625.html#50f4633a0c9b75796545be7aee377aca">00133</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor></a> VertexActor; <a name="l00135"></a>00135 <a name="l00136"></a>00136 <span class="comment">//ETX</span> <a name="l00137"></a>00137 <a name="l00138"></a><a class="code" href="a00625.html#3ec1caf47dcf7ffbb74147dabf1ab0e1">00138</a> <span class="keywordtype">bool</span> CoordinatesInArrays; <a name="l00139"></a>00139 <a name="l00140"></a>00140 <span class="keyword">private</span>: <a name="l00141"></a>00141 <a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a>(<span class="keyword">const</span> <a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a>&); <span class="comment">// Not implemented.</span> <a name="l00142"></a>00142 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00625.html" title="Displays a geometric dataset on a globe.">vtkGeoLineRepresentation</a>&); <span class="comment">// Not implemented.</span> <a name="l00143"></a>00143 }; <a name="l00144"></a>00144 <a name="l00145"></a>00145 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:19 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>