<!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/Views/vtkHierarchicalGraphView.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/Views/vtkHierarchicalGraphView.h</h1><a href="a03591.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: vtkHierarchicalGraphView.h,v $</span> <a name="l00005"></a>00005 <span class="comment"> </span> <a name="l00006"></a>00006 <span class="comment">-------------------------------------------------------------------------</span> <a name="l00007"></a>00007 <span class="comment"> Copyright 2008 Sandia Corporation.</span> <a name="l00008"></a>00008 <span class="comment"> Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,</span> <a name="l00009"></a>00009 <span class="comment"> the U.S. Government retains certain rights in this software.</span> <a name="l00010"></a>00010 <span class="comment">-------------------------------------------------------------------------</span> <a name="l00011"></a>00011 <span class="comment"></span> <a name="l00012"></a>00012 <span class="comment"> Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span> <a name="l00013"></a>00013 <span class="comment"> All rights reserved.</span> <a name="l00014"></a>00014 <span class="comment"> See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span> <a name="l00015"></a>00015 <span class="comment"></span> <a name="l00016"></a>00016 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00017"></a>00017 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00018"></a>00018 <span class="comment"> PURPOSE. See the above copyright notice for more information.</span> <a name="l00019"></a>00019 <span class="comment"></span> <a name="l00020"></a>00020 <span class="comment">=========================================================================*/</span> <a name="l00021"></a>00021 <a name="l00044"></a>00044 <span class="preprocessor">#ifndef __vtkHierarchicalGraphView_h</span> <a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define __vtkHierarchicalGraphView_h</span> <a name="l00046"></a>00046 <span class="preprocessor"></span> <a name="l00047"></a>00047 <span class="preprocessor">#include "<a class="code" href="a02127.html">vtkSmartPointer.h</a>"</span> <span class="comment">// Required for smart pointer internal ivars.</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="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>; <a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>; <a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="a00267.html" title="Places vertices around a circle.">vtkCircularLayoutStrategy</a>; <a name="l00054"></a>00054 <span class="keyword">class </span><a class="code" href="a00335.html" title="perform coordinate transformation, and represent position, in a variety of vtk coordinate...">vtkCoordinate</a>; <a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="a00339.html" title="tree layout strategy reminiscent of astronomical systems">vtkCosmicTreeLayoutStrategy</a>; <a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a01747.html" title="hierarchical layout">vtkTreeLayoutStrategy</a>; <a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="a00442.html" title="draw text labels at 2D dataset points">vtkDynamic2DLabelMapper</a>; <a name="l00058"></a>00058 <span class="keyword">class </span><a class="code" href="a00446.html" title="generate points at center of edges">vtkEdgeCenters</a>; <a name="l00059"></a>00059 <span class="keyword">class </span><a class="code" href="a00514.html" title="return a subgraph of a vtkGraph">vtkExtractSelectedGraph</a>; <a name="l00060"></a>00060 <span class="keyword">class </span><a class="code" href="a00651.html" title="copy oriented and scaled glyph geometry to every input point">vtkGlyph3D</a>; <a name="l00061"></a>00061 <span class="keyword">class </span><a class="code" href="a00654.html" title="Base class for graph data types.">vtkGraph</a>; <a name="l00062"></a>00062 <span class="keyword">class </span><a class="code" href="a00661.html" title="layout graph arcs in bundles">vtkGraphHierarchicalBundle</a>; <a name="l00063"></a>00063 <span class="keyword">class </span><a class="code" href="a00665.html" title="layout a graph in 2 or 3 dimensions">vtkGraphLayout</a>; <a name="l00064"></a>00064 <span class="keyword">class </span><a class="code" href="a00667.html" title="abstract superclass for all graph layout strategies">vtkGraphLayoutStrategy</a>; <a name="l00065"></a>00065 <span class="keyword">class </span><a class="code" href="a00669.html" title="map vtkGraph and derived classes to graphics primitives">vtkGraphMapper</a>; <a name="l00066"></a>00066 <span class="keyword">class </span><a class="code" href="a00672.html" title="convert a vtkGraph to vtkPolyData">vtkGraphToPolyData</a>; <a name="l00067"></a>00067 <span class="keyword">class </span>vtkGraphToTree; <a name="l00068"></a>00068 <span class="keyword">class </span><a class="code" href="a00936.html" title="Selects point ids using a kd-tree.">vtkKdTreeSelector</a>; <a name="l00069"></a>00069 <span class="keyword">class </span><a class="code" href="a00980.html" title="map scalar values into colors via a lookup table">vtkLookupTable</a>; <a name="l00070"></a>00070 <span class="keyword">class </span><a class="code" href="a01182.html" title="a layout strategy that does absolutely nothing">vtkPassThroughLayoutStrategy</a>; <a name="l00071"></a>00071 <span class="keyword">class </span><a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>; <a name="l00072"></a>00072 <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="l00073"></a>00073 <span class="keyword">class </span><a class="code" href="a01524.html" title="An algorithm for linking selections among objects.">vtkSelectionLink</a>; <a name="l00074"></a>00074 <span class="keyword">class </span><a class="code" href="a01589.html" title="generate uniformly subdivided polylines from a set of input polyline using a vtkSpline...">vtkSplineFilter</a>; <a name="l00075"></a>00075 <span class="keyword">class </span><a class="code" href="a01695.html" title="handles properties associated with a texture map">vtkTexture</a>; <a name="l00076"></a>00076 <span class="keyword">class </span><a class="code" href="a01741.html" title="A rooted tree data structure.">vtkTree</a>; <a name="l00077"></a>00077 <span class="keyword">class </span><a class="code" href="a01746.html" title="aggregate field values from the leaves up the tree">vtkTreeFieldAggregator</a>; <a name="l00078"></a>00078 <span class="keyword">class </span><a class="code" href="a01823.html" title="Adds an attribute array with the degree of each vertex.">vtkVertexDegree</a>; <a name="l00079"></a>00079 <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="l00080"></a>00080 <span class="keyword">class </span><a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>; <a name="l00081"></a>00081 <span class="keyword">class </span><a class="code" href="a00681.html" title="manager for OpenGL-based selection.">vtkHardwareSelector</a>; <a name="l00082"></a>00082 <a name="l00083"></a>00083 <a name="l00084"></a><a class="code" href="a00694.html">00084</a> <span class="keyword">class </span><a class="code" href="a02170.html#c25dfcbca346c584e0d7e3204b3a31d9">VTK_VIEWS_EXPORT</a> <a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a> : <span class="keyword">public</span> <a class="code" href="a01488.html" title="A view containing a renderer.">vtkRenderView</a> <a name="l00085"></a>00085 { <a name="l00086"></a>00086 <span class="keyword">public</span>: <a name="l00087"></a>00087 <span class="keyword">static</span> <a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a> *<a class="code" href="a01488.html#931584bc975a6a807e93661fe251238f">New</a>(); <a name="l00088"></a><a class="code" href="a00694.html#724cae065831fd63d237331b4c5316c0">00088</a> vtkTypeRevisionMacro(<a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a>, <a class="code" href="a01488.html" title="A view containing a renderer.">vtkRenderView</a>); <a name="l00089"></a>00089 <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="l00090"></a>00090 <a name="l00092"></a>00092 <a name="l00094"></a>00094 <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* SetHierarchyFromInputConnection(<a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* conn); <a name="l00095"></a>00095 <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* SetHierarchyFromInput(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* input); <a name="l00096"></a>00096 <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* SetGraphFromInputConnection(<a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* conn); <a name="l00097"></a>00097 <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* SetGraphFromInput(<a class="code" href="a00362.html" title="general representation of visualization data">vtkDataObject</a>* input); <a name="l00099"></a>00099 <a name="l00101"></a>00101 <a name="l00102"></a>00102 <span class="keywordtype">void</span> SetVertexLabelArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00103"></a>00103 <span class="keyword">const</span> <span class="keywordtype">char</span>* GetVertexLabelArrayName(); <a name="l00105"></a>00105 <a name="l00107"></a>00107 <a name="l00108"></a>00108 <span class="keywordtype">void</span> SetEdgeLabelArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00109"></a>00109 <span class="keyword">const</span> <span class="keywordtype">char</span>* GetEdgeLabelArrayName(); <a name="l00111"></a>00111 <a name="l00113"></a>00113 <a name="l00114"></a>00114 <span class="keywordtype">void</span> SetVertexLabelVisibility(<span class="keywordtype">bool</span> vis); <a name="l00115"></a>00115 <span class="keywordtype">bool</span> GetVertexLabelVisibility(); <a name="l00116"></a>00116 <span class="keywordtype">void</span> VertexLabelVisibilityOn(); <a name="l00117"></a>00117 <span class="keywordtype">void</span> VertexLabelVisibilityOff(); <a name="l00119"></a>00119 <a name="l00121"></a>00121 <a name="l00122"></a>00122 <span class="keywordtype">void</span> SetEdgeLabelVisibility(<span class="keywordtype">bool</span> vis); <a name="l00123"></a>00123 <span class="keywordtype">bool</span> GetEdgeLabelVisibility(); <a name="l00124"></a>00124 <span class="keywordtype">void</span> EdgeLabelVisibilityOn(); <a name="l00125"></a>00125 <span class="keywordtype">void</span> EdgeLabelVisibilityOff(); <a name="l00127"></a>00127 <a name="l00129"></a>00129 <a name="l00130"></a>00130 <span class="keywordtype">void</span> SetVertexColorArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00131"></a>00131 <span class="keyword">const</span> <span class="keywordtype">char</span>* GetVertexColorArrayName(); <a name="l00133"></a>00133 <a name="l00135"></a>00135 <a name="l00136"></a>00136 <span class="keywordtype">void</span> SetColorVertices(<span class="keywordtype">bool</span> vis); <a name="l00137"></a>00137 <span class="keywordtype">bool</span> GetColorVertices(); <a name="l00138"></a>00138 <span class="keywordtype">void</span> ColorVerticesOn(); <a name="l00139"></a>00139 <span class="keywordtype">void</span> ColorVerticesOff(); <a name="l00141"></a>00141 <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="keywordtype">void</span> SetEdgeColorArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00145"></a>00145 <span class="keyword">const</span> <span class="keywordtype">char</span>* GetEdgeColorArrayName(); <a name="l00147"></a>00147 <a name="l00149"></a>00149 <span class="keywordtype">void</span> SetEdgeColorToSplineFraction(); <a name="l00150"></a>00150 <a name="l00152"></a>00152 <a name="l00153"></a>00153 <span class="keywordtype">void</span> SetColorEdges(<span class="keywordtype">bool</span> vis); <a name="l00154"></a>00154 <span class="keywordtype">bool</span> GetColorEdges(); <a name="l00155"></a>00155 <span class="keywordtype">void</span> ColorEdgesOn(); <a name="l00156"></a>00156 <span class="keywordtype">void</span> ColorEdgesOff(); <a name="l00158"></a>00158 <a name="l00160"></a>00160 <span class="keywordtype">void</span> SetRadialLayout(<span class="keywordtype">bool</span> radial); <a name="l00161"></a>00161 <a name="l00163"></a>00163 <span class="keywordtype">void</span> SetRadialAngle(<span class="keywordtype">int</span> angle); <a name="l00164"></a>00164 <a name="l00166"></a>00166 <span class="keywordtype">void</span> SetLogSpacingFactor(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210b60285711fa8d2a46166a29951678aa7">spacing</a>); <a name="l00167"></a>00167 <a name="l00169"></a>00169 <span class="keywordtype">void</span> SetLeafSpacing(<span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210b60285711fa8d2a46166a29951678aa7">spacing</a>); <a name="l00170"></a>00170 <a name="l00172"></a>00172 <span class="keywordtype">void</span> SetBundlingStrength(<span class="keywordtype">double</span> strength); <a name="l00173"></a>00173 <a name="l00177"></a>00177 <span class="keyword">virtual</span> <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* GetTreeVisibilityRepresentation(); <a name="l00178"></a>00178 <a name="l00180"></a>00180 <a name="l00181"></a><a class="code" href="a00694.html#64db1f06479fd750b86ba19451d0ab2f">00181</a> <span class="keyword">virtual</span> <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* GetGraphRepresentation() <a name="l00182"></a>00182 { <span class="keywordflow">return</span> this-><a class="code" href="a01830.html#60aacb13d18c698e37b7bc72ef4da507">GetRepresentation</a>(1, 0); } <a name="l00183"></a><a class="code" href="a00694.html#05a27c5e7449288c88d26f446a800103">00183</a> <span class="keyword">virtual</span> <a class="code" href="a00373.html" title="The superclass for all representations.">vtkDataRepresentation</a>* GetTreeRepresentation() <a name="l00184"></a>00184 { <span class="keywordflow">return</span> this-><a class="code" href="a01830.html#60aacb13d18c698e37b7bc72ef4da507">GetRepresentation</a>(0, 0); } <a name="l00186"></a>00186 <a name="l00188"></a>00188 <span class="keywordtype">void</span> SetIconTexture(<a class="code" href="a01695.html" title="handles properties associated with a texture map">vtkTexture</a> *texture); <a name="l00189"></a>00189 <a name="l00193"></a>00193 <span class="keywordtype">void</span> AddIconType(<span class="keywordtype">char</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d2108e7f81709ed57920a45c02a954726847">type</a>, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e519c5019582479480124c44722a451f">index</a>); <a name="l00194"></a>00194 <a name="l00196"></a>00196 <span class="keywordtype">void</span> ClearIconTypes(); <a name="l00197"></a>00197 <a name="l00199"></a>00199 <span class="keywordtype">void</span> SetIconSize(<span class="keywordtype">int</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>); <a name="l00200"></a>00200 <a name="l00203"></a>00203 <span class="keywordtype">void</span> SetIconAlignment(<span class="keywordtype">int</span> alignment); <a name="l00204"></a>00204 <a name="l00206"></a>00206 <a name="l00207"></a>00207 <span class="keywordtype">void</span> SetIconVisibility(<span class="keywordtype">bool</span> b); <a name="l00208"></a>00208 <span class="keywordtype">bool</span> GetIconVisibility(); <a name="l00209"></a>00209 vtkBooleanMacro(IconVisibility, <span class="keywordtype">bool</span>); <a name="l00211"></a>00211 <a name="l00213"></a>00213 <a name="l00214"></a>00214 <span class="keywordtype">void</span> SetIconArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00215"></a>00215 <span class="keyword">const</span> <span class="keywordtype">char</span>* GetIconArrayName(); <a name="l00217"></a>00217 <a name="l00219"></a>00219 <a name="l00220"></a>00220 <span class="keywordtype">void</span> SetTreeEdgeVisibility(<span class="keywordtype">bool</span> b); <a name="l00221"></a>00221 <span class="keywordtype">bool</span> GetTreeEdgeVisibility(); <a name="l00222"></a>00222 <span class="keywordtype">void</span> TreeEdgeVisibilityOn(); <a name="l00223"></a>00223 <span class="keywordtype">void</span> TreeEdgeVisibilityOff(); <a name="l00225"></a>00225 <a name="l00227"></a>00227 <a name="l00228"></a>00228 <span class="keywordtype">void</span> SetScalingArrayName(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00229"></a>00229 <span class="keyword">const</span> <span class="keywordtype">char</span>* GetScalingArrayName(); <a name="l00231"></a>00231 <a name="l00233"></a>00233 <a name="l00234"></a>00234 <span class="keywordtype">void</span> SetScaledGlyphs(<span class="keywordtype">bool</span> arg); <a name="l00235"></a>00235 <span class="keywordtype">bool</span> GetScaledGlyphs(); <a name="l00236"></a>00236 vtkBooleanMacro(ScaledGlyphs, <span class="keywordtype">bool</span>); <a name="l00238"></a>00238 <a name="l00240"></a>00240 <a name="l00244"></a>00244 <span class="keywordtype">void</span> SetLayoutStrategy(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>); <a name="l00245"></a><a class="code" href="a00694.html#1da306f162c3cf75f58e13e5a6d9dd1b">00245</a> <span class="keywordtype">void</span> SetLayoutStrategyToTree() { this->SetLayoutStrategy(<span class="stringliteral">"Tree"</span>); } <a name="l00246"></a><a class="code" href="a00694.html#3c95c38d5b901b06be6e3fe1a97502fe">00246</a> <span class="keywordtype">void</span> SetLayoutStrategyToCosmicTree() { this->SetLayoutStrategy(<span class="stringliteral">"CosmicTree"</span>); } <a name="l00247"></a><a class="code" href="a00694.html#a38749ebb180187fb484dc30c32a9837">00247</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetLayoutStrategyName() { <span class="keywordflow">return</span> this->GetLayoutStrategyNameInternal(); } <a name="l00249"></a>00249 <a name="l00251"></a>00251 <a name="l00254"></a>00254 vtkGetObjectMacro(LayoutStrategy,<a class="code" href="a00667.html" title="abstract superclass for all graph layout strategies">vtkGraphLayoutStrategy</a>); <a name="l00255"></a>00255 <span class="keywordtype">void</span> SetLayoutStrategy(<a class="code" href="a00667.html" title="abstract superclass for all graph layout strategies">vtkGraphLayoutStrategy</a> *s); <a name="l00257"></a>00257 <a name="l00259"></a>00259 <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="l00260"></a>00260 <a name="l00262"></a>00262 <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="l00263"></a>00263 <a name="l00265"></a>00265 <a name="l00266"></a>00266 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetVertexLabelFontSize(<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>); <a name="l00267"></a>00267 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetVertexLabelFontSize(); <a name="l00269"></a>00269 <a name="l00271"></a>00271 <a name="l00272"></a>00272 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetEdgeLabelFontSize(<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>); <a name="l00273"></a>00273 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetEdgeLabelFontSize(); <a name="l00275"></a>00275 <a name="l00276"></a>00276 <span class="keyword">protected</span>: <a name="l00277"></a>00277 <a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a>(); <a name="l00278"></a>00278 ~<a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a>(); <a name="l00279"></a>00279 <a name="l00281"></a>00281 <a name="l00282"></a>00282 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01488.html#abc1444f0bbe5db7a960f4ce9c1c8d2f">ProcessEvents</a>(<a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a>* caller, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> eventId, <a name="l00283"></a>00283 <span class="keywordtype">void</span>* callData); <a name="l00285"></a>00285 <a name="l00287"></a>00287 <a name="l00288"></a>00288 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01830.html#428caf715885f86f21dc0ab2d4b053a2">AddInputConnection</a>( <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">int</span> item, <a name="l00289"></a>00289 <a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* conn, <a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* selectConn); <a name="l00291"></a>00291 <a name="l00293"></a>00293 <a name="l00294"></a>00294 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01830.html#7460a1873db1ee89b12df82309491497">RemoveInputConnection</a>( <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210710cb6d12e418b21e8fb3d79ac32f51c">port</a>, <span class="keywordtype">int</span> item, <a name="l00295"></a>00295 <a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* conn, <a class="code" href="a00102.html" title="Proxy object to connect input/output ports.">vtkAlgorithmOutput</a>* selectConn); <a name="l00297"></a>00297 <a name="l00299"></a>00299 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01488.html#9f41f57fdb747ff88e2862a613de126e">PrepareForRendering</a>(); <a name="l00300"></a>00300 <a name="l00302"></a>00302 <span class="keywordtype">void</span> MapToXYPlane(<span class="keywordtype">double</span> displayX, <span class="keywordtype">double</span> displayY, <span class="keywordtype">double</span> &x, <span class="keywordtype">double</span> &y); <a name="l00303"></a>00303 <a name="l00305"></a>00305 <a name="l00306"></a>00306 vtkGetStringMacro(LayoutStrategyNameInternal); <a name="l00307"></a><a class="code" href="a00694.html#f173488a1195c52d33589786947a1345">00307</a> vtkSetStringMacro(LayoutStrategyNameInternal); <a name="l00308"></a>00308 <span class="keywordtype">char</span>* LayoutStrategyNameInternal; <a name="l00310"></a>00310 <a name="l00312"></a><a class="code" href="a00694.html#4982057eeec9a113b9d8d314092fec8a">00312</a> <a class="code" href="a00667.html" title="abstract superclass for all graph layout strategies">vtkGraphLayoutStrategy</a>* LayoutStrategy; <a name="l00313"></a>00313 <a name="l00315"></a>00315 <a name="l00316"></a>00316 vtkGetStringMacro(IconArrayNameInternal); <a name="l00317"></a><a class="code" href="a00694.html#9b15b3dd273f617fc72bda04c7a97d51">00317</a> vtkSetStringMacro(IconArrayNameInternal); <a name="l00318"></a>00318 <span class="keywordtype">char</span>* IconArrayNameInternal; <a name="l00319"></a>00319 <span class="comment">//BTX</span> <a name="l00321"></a>00321 <span class="comment"></span> <a name="l00322"></a>00322 <span class="comment">// Processing objects</span> <a name="l00323"></a><a class="code" href="a00694.html#196753361f538d8b8691117c13b75967">00323</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkCoordinate></a> <a class="code" href="a03761.html#88ade42854f67d6297898362e17a515f9058864979bae3fb15994db271d5bb41">Coordinate</a>; <a name="l00324"></a><a class="code" href="a00694.html#2b2ec0c10a0eb456c2cbb8549730579e">00324</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGraphLayout></a> GraphLayout; <a name="l00325"></a><a class="code" href="a00694.html#c511adb52b05f2bfb4c67f3ce70cdd0d">00325</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkCircularLayoutStrategy></a> CircularStrategy; <a name="l00326"></a><a class="code" href="a00694.html#6c0e708227120de2830ea273eda41725">00326</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkTreeLayoutStrategy></a> TreeStrategy; <a name="l00327"></a><a class="code" href="a00694.html#41d10396621ac79b434b126a550429b7">00327</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkCosmicTreeLayoutStrategy></a> CosmicTreeStrategy; <a name="l00328"></a><a class="code" href="a00694.html#384560ee13ae18eb72730afee4cdb414">00328</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkPassThroughLayoutStrategy></a> PassThroughStrategy; <a name="l00329"></a><a class="code" href="a00694.html#97db249117bd586aac428047db4a7853">00329</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGraphHierarchicalBundle></a> HBundle; <a name="l00330"></a><a class="code" href="a00694.html#51862ecfa98a1bbe3e7590ff591527aa">00330</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkSplineFilter></a> Spline; <a name="l00331"></a><a class="code" href="a00694.html#e90033b94aac1c44365ceeab18d30ca3">00331</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkVertexDegree></a> VertexDegree; <a name="l00332"></a><a class="code" href="a00694.html#a5e39b52892f12e2952b15a06e277289">00332</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkEdgeCenters></a> EdgeCenters; <a name="l00333"></a><a class="code" href="a00694.html#7a0e9b8cb4e3b03a1cdee90b32b92a43">00333</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkTreeFieldAggregator></a> TreeAggregation; <a name="l00334"></a><a class="code" href="a00694.html#20b08076d77de3fed45092625b30ff55">00334</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkExtractSelectedGraph></a> ExtractSelectedTree; <a name="l00335"></a><a class="code" href="a00694.html#6c56d81d557b84b8aae13120ce89f29b">00335</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGraphMapper></a> SelectedTreeMapper; <a name="l00336"></a><a class="code" href="a00694.html#5ad9d4a38fbfffb13b75790c0ff2f7b5">00336</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor></a> SelectedTreeActor; <a name="l00337"></a>00337 <a name="l00338"></a>00338 <span class="comment">// Representation objects</span> <a name="l00339"></a><a class="code" href="a00694.html#6ee57b1733654a77a3ce267888a3eb25">00339</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor></a> TreeActor; <a name="l00340"></a><a class="code" href="a00694.html#f06c0b8fc3742bf80f06addb3d68dcb6">00340</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGraphMapper></a> TreeMapper; <a name="l00341"></a><a class="code" href="a00694.html#c971311c19317663df0b2817f9528d23">00341</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkDynamic2DLabelMapper></a> VertexLabelMapper; <a name="l00342"></a><a class="code" href="a00694.html#1b322b09296cc960efd81bcb4770d85f">00342</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor2D></a> VertexLabelActor; <a name="l00343"></a><a class="code" href="a00694.html#0e965573f48a591d373643f434521e2d">00343</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkDynamic2DLabelMapper></a> EdgeLabelMapper; <a name="l00344"></a><a class="code" href="a00694.html#ed0f9080ef2ac054beaae6981e88bb01">00344</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor2D></a> EdgeLabelActor; <a name="l00345"></a><a class="code" href="a00694.html#da08bcf353f3702e6e5bc8c81668a5b5">00345</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkPolyDataMapper></a> GraphEdgeMapper; <a name="l00346"></a><a class="code" href="a00694.html#657ee5722d937d5ef10146c034a77055">00346</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor></a> GraphEdgeActor; <a name="l00347"></a><a class="code" href="a00694.html#8fac9748a83e31f294cebffd33fe2062">00347</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkDataRepresentation></a> TreeVisibilityRepresentation; <a name="l00348"></a>00348 <a name="l00349"></a>00349 <span class="comment">// Selection objects</span> <a name="l00350"></a><a class="code" href="a00694.html#1c774a0de3b30958b48d73125036eb5b">00350</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkSelection></a> EmptySelection; <a name="l00351"></a><a class="code" href="a00694.html#5053e486b02429dfec86beeda70fe527">00351</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkKdTreeSelector></a> KdTreeSelector; <a name="l00352"></a><a class="code" href="a00694.html#c1679beb3ab35f1eb3fd9597689ca9e6">00352</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkHardwareSelector></a> HardwareSelector; <a name="l00353"></a><a class="code" href="a00694.html#2e39da1d432da91850f053ae523b5885">00353</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkExtractSelectedGraph></a> ExtractSelectedGraph; <a name="l00354"></a><a class="code" href="a00694.html#3a96dbd80df0b1c5a3f0f20f8dc16362">00354</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkGraphHierarchicalBundle></a> SelectedGraphHBundle; <a name="l00355"></a><a class="code" href="a00694.html#d5543bd3909d32c18d05af72d775a37a">00355</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkSplineFilter></a> SelectedGraphSpline; <a name="l00356"></a><a class="code" href="a00694.html#cadd9cd5662bebfe3754ef2f2a1ac9a3">00356</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkActor></a> SelectedGraphActor; <a name="l00357"></a><a class="code" href="a00694.html#dba9bbd0e943ce986960351be019ef74">00357</a> <a class="code" href="a01562.html" title="Hold a reference to a vtkObjectBase instance.">vtkSmartPointer<vtkPolyDataMapper></a> SelectedGraphMapper; <a name="l00358"></a>00358 <span class="comment">//ETX</span> <a name="l00359"></a>00359 <a name="l00360"></a>00360 <span class="keyword">private</span>: <a name="l00361"></a>00361 <a name="l00363"></a>00363 <span class="keywordtype">bool</span> Radial; <a name="l00364"></a>00364 <a name="l00366"></a>00366 <span class="keywordtype">int</span> Angle; <a name="l00367"></a>00367 <a name="l00369"></a>00369 <span class="keywordtype">float</span> LogSpacing; <a name="l00370"></a>00370 <a name="l00373"></a>00373 <span class="keywordtype">float</span> LeafSpacing; <a name="l00374"></a>00374 <a name="l00376"></a>00376 <span class="keywordtype">float</span> BundlingStrength; <a name="l00377"></a>00377 <a name="l00379"></a>00379 <a name="l00380"></a>00380 <span class="keywordtype">int</span> GraphRepresentationIndex; <a name="l00381"></a>00381 <span class="keywordtype">int</span> TreeRepresentationIndex; <a name="l00383"></a>00383 <a name="l00384"></a>00384 <a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a>(<span class="keyword">const</span> <a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a>&); <span class="comment">// Not implemented.</span> <a name="l00385"></a>00385 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00694.html" title="Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware...">vtkHierarchicalGraphView</a>&); <span class="comment">// Not implemented.</span> <a name="l00386"></a>00386 }; <a name="l00387"></a>00387 <a name="l00388"></a>00388 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:50 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>