1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>FreeMat: vtkRenderedGraphRepresentation</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">FreeMat
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('vtkviews_vtkrenderedgraphrepresentation.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">vtkRenderedGraphRepresentation </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Section: <a class="el" href="sec_vtkviews.html">Visualization Toolkit View Classes</a> </p>
<h1><a class="anchor" id="Usage"></a>
Usage</h1>
<p>To create an instance of class vtkRenderedGraphRepresentation, simply invoke its constructor as follows </p>
<pre class="fragment"> obj = vtkRenderedGraphRepresentation
</pre> <h1><a class="anchor" id="Methods"></a>
Methods</h1>
<p>The class vtkRenderedGraphRepresentation has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, <code>obj</code> is an instance of the vtkRenderedGraphRepresentation class. </p>
<ul>
<li>
<code>string = obj.GetClassName ()</code> </li>
<li>
<code>int = obj.IsA (string name)</code> </li>
<li>
<code>vtkRenderedGraphRepresentation = obj.NewInstance ()</code> </li>
<li>
<code>vtkRenderedGraphRepresentation = obj.SafeDownCast (vtkObject o)</code> </li>
<li>
<code>obj.SetVertexLabelArrayName (string name)</code> </li>
<li>
<code>string = obj.GetVertexLabelArrayName ()</code> </li>
<li>
<code>obj.SetVertexLabelPriorityArrayName (string name)</code> </li>
<li>
<code>string = obj.GetVertexLabelPriorityArrayName ()</code> </li>
<li>
<code>obj.SetVertexLabelVisibility (bool b)</code> </li>
<li>
<code>bool = obj.GetVertexLabelVisibility ()</code> </li>
<li>
<code>obj.VertexLabelVisibilityOn ()</code> </li>
<li>
<code>obj.VertexLabelVisibilityOff ()</code> </li>
<li>
<code>obj.SetVertexLabelTextProperty (vtkTextProperty p)</code> </li>
<li>
<code>vtkTextProperty = obj.GetVertexLabelTextProperty ()</code> </li>
<li>
<code>obj.SetVertexHoverArrayName (string )</code> </li>
<li>
<code>string = obj.GetVertexHoverArrayName ()</code> </li>
<li>
<code>obj.SetHideVertexLabelsOnInteraction (bool )</code> - Whether to hide the display of vertex labels during mouse interaction. Default is off. </li>
<li>
<code>bool = obj.GetHideVertexLabelsOnInteraction ()</code> - Whether to hide the display of vertex labels during mouse interaction. Default is off. </li>
<li>
<code>obj.HideVertexLabelsOnInteractionOn ()</code> - Whether to hide the display of vertex labels during mouse interaction. Default is off. </li>
<li>
<code>obj.HideVertexLabelsOnInteractionOff ()</code> - Whether to hide the display of vertex labels during mouse interaction. Default is off. </li>
<li>
<code>obj.SetEdgeLabelArrayName (string name)</code> </li>
<li>
<code>string = obj.GetEdgeLabelArrayName ()</code> </li>
<li>
<code>obj.SetEdgeLabelPriorityArrayName (string name)</code> </li>
<li>
<code>string = obj.GetEdgeLabelPriorityArrayName ()</code> </li>
<li>
<code>obj.SetEdgeLabelVisibility (bool b)</code> </li>
<li>
<code>bool = obj.GetEdgeLabelVisibility ()</code> </li>
<li>
<code>obj.EdgeLabelVisibilityOn ()</code> </li>
<li>
<code>obj.EdgeLabelVisibilityOff ()</code> </li>
<li>
<code>obj.SetEdgeLabelTextProperty (vtkTextProperty p)</code> </li>
<li>
<code>vtkTextProperty = obj.GetEdgeLabelTextProperty ()</code> </li>
<li>
<code>obj.SetEdgeHoverArrayName (string )</code> </li>
<li>
<code>string = obj.GetEdgeHoverArrayName ()</code> </li>
<li>
<code>obj.SetHideEdgeLabelsOnInteraction (bool )</code> - Whether to hide the display of edge labels during mouse interaction. Default is off. </li>
<li>
<code>bool = obj.GetHideEdgeLabelsOnInteraction ()</code> - Whether to hide the display of edge labels during mouse interaction. Default is off. </li>
<li>
<code>obj.HideEdgeLabelsOnInteractionOn ()</code> - Whether to hide the display of edge labels during mouse interaction. Default is off. </li>
<li>
<code>obj.HideEdgeLabelsOnInteractionOff ()</code> - Whether to hide the display of edge labels during mouse interaction. Default is off. </li>
<li>
<code>obj.SetVertexIconArrayName (string name)</code> </li>
<li>
<code>string = obj.GetVertexIconArrayName ()</code> </li>
<li>
<code>obj.SetVertexIconPriorityArrayName (string name)</code> </li>
<li>
<code>string = obj.GetVertexIconPriorityArrayName ()</code> </li>
<li>
<code>obj.SetVertexIconVisibility (bool b)</code> </li>
<li>
<code>bool = obj.GetVertexIconVisibility ()</code> </li>
<li>
<code>obj.VertexIconVisibilityOn ()</code> </li>
<li>
<code>obj.VertexIconVisibilityOff ()</code> </li>
<li>
<code>obj.AddVertexIconType (string name, int type)</code> </li>
<li>
<code>obj.ClearVertexIconTypes ()</code> </li>
<li>
<code>obj.SetUseVertexIconTypeMap (bool b)</code> </li>
<li>
<code>bool = obj.GetUseVertexIconTypeMap ()</code> </li>
<li>
<code>obj.UseVertexIconTypeMapOn ()</code> </li>
<li>
<code>obj.UseVertexIconTypeMapOff ()</code> </li>
<li>
<code>obj.SetVertexIconAlignment (int align)</code> </li>
<li>
<code>int = obj.GetVertexIconAlignment ()</code> </li>
<li>
<code>obj.SetVertexSelectedIcon (int icon)</code> </li>
<li>
<code>int = obj.GetVertexSelectedIcon ()</code> </li>
<li>
<code>obj.SetVertexIconSelectionMode (int mode)</code> - Set the mode to one of <ul>
<li>
vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon </li>
<li>
vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon as offset </li>
<li>
vtkApplyIcons::ANNOTATION_ICON - use current annotation icon </li>
<li>
vtkApplyIcons::IGNORE_SELECTION - ignore selected elements </li>
</ul>
The default is IGNORE_SELECTION. </li>
<li>
<code>int = obj.GetVertexIconSelectionMode ()</code> - Set the mode to one of <ul>
<li>
vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon </li>
<li>
vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon as offset </li>
<li>
vtkApplyIcons::ANNOTATION_ICON - use current annotation icon </li>
<li>
vtkApplyIcons::IGNORE_SELECTION - ignore selected elements </li>
</ul>
The default is IGNORE_SELECTION. </li>
<li>
<code>obj.SetVertexIconSelectionModeToSelectedIcon ()</code> - Set the mode to one of <ul>
<li>
vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon </li>
<li>
vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon as offset </li>
<li>
vtkApplyIcons::ANNOTATION_ICON - use current annotation icon </li>
<li>
vtkApplyIcons::IGNORE_SELECTION - ignore selected elements </li>
</ul>
The default is IGNORE_SELECTION. </li>
<li>
<code>obj.SetVertexIconSelectionModeToSelectedOffset ()</code> - Set the mode to one of <ul>
<li>
vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon </li>
<li>
vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon as offset </li>
<li>
vtkApplyIcons::ANNOTATION_ICON - use current annotation icon </li>
<li>
vtkApplyIcons::IGNORE_SELECTION - ignore selected elements </li>
</ul>
The default is IGNORE_SELECTION. </li>
<li>
<code>obj.SetVertexIconSelectionModeToAnnotationIcon ()</code> - Set the mode to one of <ul>
<li>
vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon </li>
<li>
vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon as offset </li>
<li>
vtkApplyIcons::ANNOTATION_ICON - use current annotation icon </li>
<li>
vtkApplyIcons::IGNORE_SELECTION - ignore selected elements </li>
</ul>
The default is IGNORE_SELECTION. </li>
<li>
<code>obj.SetVertexIconSelectionModeToIgnoreSelection ()</code> </li>
<li>
<code>obj.SetEdgeIconArrayName (string name)</code> </li>
<li>
<code>string = obj.GetEdgeIconArrayName ()</code> </li>
<li>
<code>obj.SetEdgeIconPriorityArrayName (string name)</code> </li>
<li>
<code>string = obj.GetEdgeIconPriorityArrayName ()</code> </li>
<li>
<code>obj.SetEdgeIconVisibility (bool b)</code> </li>
<li>
<code>bool = obj.GetEdgeIconVisibility ()</code> </li>
<li>
<code>obj.EdgeIconVisibilityOn ()</code> </li>
<li>
<code>obj.EdgeIconVisibilityOff ()</code> </li>
<li>
<code>obj.AddEdgeIconType (string name, int type)</code> </li>
<li>
<code>obj.ClearEdgeIconTypes ()</code> </li>
<li>
<code>obj.SetUseEdgeIconTypeMap (bool b)</code> </li>
<li>
<code>bool = obj.GetUseEdgeIconTypeMap ()</code> </li>
<li>
<code>obj.UseEdgeIconTypeMapOn ()</code> </li>
<li>
<code>obj.UseEdgeIconTypeMapOff ()</code> </li>
<li>
<code>obj.SetEdgeIconAlignment (int align)</code> </li>
<li>
<code>int = obj.GetEdgeIconAlignment ()</code> </li>
<li>
<code>obj.SetColorVerticesByArray (bool b)</code> </li>
<li>
<code>bool = obj.GetColorVerticesByArray ()</code> </li>
<li>
<code>obj.ColorVerticesByArrayOn ()</code> </li>
<li>
<code>obj.ColorVerticesByArrayOff ()</code> </li>
<li>
<code>obj.SetVertexColorArrayName (string name)</code> </li>
<li>
<code>string = obj.GetVertexColorArrayName ()</code> </li>
<li>
<code>obj.SetColorEdgesByArray (bool b)</code> </li>
<li>
<code>bool = obj.GetColorEdgesByArray ()</code> </li>
<li>
<code>obj.ColorEdgesByArrayOn ()</code> </li>
<li>
<code>obj.ColorEdgesByArrayOff ()</code> </li>
<li>
<code>obj.SetEdgeColorArrayName (string name)</code> </li>
<li>
<code>string = obj.GetEdgeColorArrayName ()</code> </li>
<li>
<code>obj.SetEnableVerticesByArray (bool b)</code> </li>
<li>
<code>bool = obj.GetEnableVerticesByArray ()</code> </li>
<li>
<code>obj.EnableVerticesByArrayOn ()</code> </li>
<li>
<code>obj.EnableVerticesByArrayOff ()</code> </li>
<li>
<code>obj.SetEnabledVerticesArrayName (string name)</code> </li>
<li>
<code>string = obj.GetEnabledVerticesArrayName ()</code> </li>
<li>
<code>obj.SetEnableEdgesByArray (bool b)</code> </li>
<li>
<code>bool = obj.GetEnableEdgesByArray ()</code> </li>
<li>
<code>obj.EnableEdgesByArrayOn ()</code> </li>
<li>
<code>obj.EnableEdgesByArrayOff ()</code> </li>
<li>
<code>obj.SetEnabledEdgesArrayName (string name)</code> </li>
<li>
<code>string = obj.GetEnabledEdgesArrayName ()</code> </li>
<li>
<code>obj.SetEdgeVisibility (bool b)</code> </li>
<li>
<code>bool = obj.GetEdgeVisibility ()</code> </li>
<li>
<code>obj.EdgeVisibilityOn ()</code> </li>
<li>
<code>obj.EdgeVisibilityOff ()</code> </li>
<li>
<code>obj.SetLayoutStrategy (vtkGraphLayoutStrategy strategy)</code> - Set/get the graph layout strategy. </li>
<li>
<code>vtkGraphLayoutStrategy = obj.GetLayoutStrategy ()</code> - Set/get the graph layout strategy. </li>
<li>
<code>obj.SetLayoutStrategy (string name)</code> - Get/set the layout strategy by name. </li>
<li>
<code>string = obj.GetLayoutStrategyName ()</code> - Get/set the layout strategy by name. </li>
<li>
<code>obj.SetLayoutStrategyToRandom ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToForceDirected ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToSimple2D ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToClustering2D ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToCommunity2D ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToFast2D ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToPassThrough ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToCircular ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToTree ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToCosmicTree ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToCone ()</code> - Set predefined layout strategies. </li>
<li>
<code>obj.SetLayoutStrategyToSpanTree ()</code> - Set the layout strategy to use coordinates from arrays. The x array must be specified. The y and z arrays are optional. </li>
<li>
<code>obj.SetLayoutStrategyToAssignCoordinates (string xarr, string yarr, string zarr)</code> - Set the layout strategy to use coordinates from arrays. The x array must be specified. The y and z arrays are optional. </li>
<li>
<code>obj.SetLayoutStrategyToTree (bool radial, double angle, double leafSpacing, double logSpacing)</code> - Set the layout strategy to a tree layout. Radial indicates whether to do a radial or standard top-down tree layout. The angle parameter is the angular distance spanned by the tree. Leaf spacing is a value from 0 to 1 indicating how much of the radial layout should be allocated to leaf nodes (as opposed to between tree branches). The log spacing value is a non-negative value where > 1 will create expanding levels, < 1 will create contracting levels, and = 1 makes all levels the same size. See vtkTreeLayoutStrategy for more information. </li>
<li>
<code>obj.SetLayoutStrategyToCosmicTree (string nodeSizeArrayName, bool sizeLeafNodesOnlytrue, int layoutDepth, vtkIdType layoutRoot)</code> - Set the layout strategy to a cosmic tree layout. nodeSizeArrayName is the array used to size the circles (default is NULL, which makes leaf nodes the same size). sizeLeafNodesOnly only uses the leaf node sizes, and computes the parent size as the sum of the child sizes (default true). layoutDepth stops layout at a certain depth (default is 0, which does the entire tree). layoutRoot is the vertex that will be considered the root node of the layout (default is -1, which will use the tree's root). See vtkCosmicTreeLayoutStrategy for more information. </li>
<li>
<code>obj.SetEdgeLayoutStrategy (vtkEdgeLayoutStrategy strategy)</code> - Set/get the graph layout strategy. </li>
<li>
<code>vtkEdgeLayoutStrategy = obj.GetEdgeLayoutStrategy ()</code> - Set/get the graph layout strategy. </li>
<li>
<code>obj.SetEdgeLayoutStrategyToArcParallel ()</code> - Set/get the graph layout strategy. </li>
<li>
<code>obj.SetEdgeLayoutStrategyToPassThrough ()</code> - Set the edge layout strategy to a geospatial arced strategy appropriate for vtkGeoView. </li>
<li>
<code>obj.SetEdgeLayoutStrategyToGeo (double explodeFactor)</code> - Set the edge layout strategy to a geospatial arced strategy appropriate for vtkGeoView. </li>
<li>
<code>obj.SetEdgeLayoutStrategy (string name)</code> - Set the edge layout strategy by name. </li>
<li>
<code>string = obj.GetEdgeLayoutStrategyName ()</code> - Set the edge layout strategy by name. </li>
<li>
<code>obj.ApplyViewTheme (vtkViewTheme theme)</code> - Apply a theme to this representation. </li>
<li>
<code>obj.SetGlyphType (int type)</code> - Set the graph vertex glyph type. </li>
<li>
<code>int = obj.GetGlyphType ()</code> - Set the graph vertex glyph type. </li>
<li>
<code>obj.SetScaling (bool b)</code> - Set whether to scale vertex glyphs. </li>
<li>
<code>bool = obj.GetScaling ()</code> - Set whether to scale vertex glyphs. </li>
<li>
<code>obj.ScalingOn ()</code> - Set whether to scale vertex glyphs. </li>
<li>
<code>obj.ScalingOff ()</code> - Set whether to scale vertex glyphs. </li>
<li>
<code>obj.SetScalingArrayName (string name)</code> - Set the glyph scaling array name. </li>
<li>
<code>string = obj.GetScalingArrayName ()</code> - Set the glyph scaling array name. </li>
<li>
<code>obj.SetVertexScalarBarVisibility (bool b)</code> - Vertex/edge scalar bar visibility. </li>
<li>
<code>bool = obj.GetVertexScalarBarVisibility ()</code> - Vertex/edge scalar bar visibility. </li>
<li>
<code>obj.SetEdgeScalarBarVisibility (bool b)</code> - Vertex/edge scalar bar visibility. </li>
<li>
<code>bool = obj.GetEdgeScalarBarVisibility ()</code> - Vertex/edge scalar bar visibility. </li>
<li>
<code>bool = obj.IsLayoutComplete ()</code> - Whether the current graph layout is complete. </li>
<li>
<code>obj.UpdateLayout ()</code> - Performs another iteration on the graph layout. </li>
<li>
<code>obj.ComputeSelectedGraphBounds (double bounds[6])</code> - Compute the bounding box of the selected subgraph. </li>
</ul>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">FreeMat Documentation</a></li><li class="navelem"><a class="el" href="sec_vtkviews.html">Visualization Toolkit View Classes</a></li>
<li class="footer">Generated on Thu Jul 25 2013 17:18:36 for FreeMat by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li>
</ul>
</div>
</body>
</html>
|