File: vtkrenderedgraphrepresentation.mdc

package info (click to toggle)
freemat 4.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 141,800 kB
  • ctags: 14,082
  • sloc: ansic: 126,788; cpp: 62,046; python: 2,080; perl: 1,255; sh: 1,146; yacc: 1,019; lex: 239; makefile: 100
file content (312 lines) | stat: -rw-r--r-- 12,112 bytes parent folder | download | duplicates (2)
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

 Usage

To create an instance of class
vtkRenderedGraphRepresentation, simply invoke its
constructor as follows

    obj = vtkRenderedGraphRepresentation



 Methods

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,
obj is an instance of the vtkRenderedGraphRepresentation
class.

* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkRenderedGraphRepresentation = obj.NewInstance ()
* vtkRenderedGraphRepresentation = obj.SafeDownCast
  (vtkObject o)
* obj.SetVertexLabelArrayName (string name)
* string = obj.GetVertexLabelArrayName ()
* obj.SetVertexLabelPriorityArrayName (string name)
* string = obj.GetVertexLabelPriorityArrayName ()
* obj.SetVertexLabelVisibility (bool b)
* bool = obj.GetVertexLabelVisibility ()
* obj.VertexLabelVisibilityOn ()
* obj.VertexLabelVisibilityOff ()
* obj.SetVertexLabelTextProperty (vtkTextProperty p)
* vtkTextProperty = obj.GetVertexLabelTextProperty ()
* obj.SetVertexHoverArrayName (string )
* string = obj.GetVertexHoverArrayName ()
* obj.SetHideVertexLabelsOnInteraction (bool ) - Whether to
  hide the display of vertex labels during mouse
  interaction. Default is off.
* bool = obj.GetHideVertexLabelsOnInteraction () - Whether
  to hide the display of vertex labels during mouse
  interaction. Default is off.
* obj.HideVertexLabelsOnInteractionOn () - Whether to hide
  the display of vertex labels during mouse interaction.
  Default is off.
* obj.HideVertexLabelsOnInteractionOff () - Whether to hide
  the display of vertex labels during mouse interaction.
  Default is off.
* obj.SetEdgeLabelArrayName (string name)
* string = obj.GetEdgeLabelArrayName ()
* obj.SetEdgeLabelPriorityArrayName (string name)
* string = obj.GetEdgeLabelPriorityArrayName ()
* obj.SetEdgeLabelVisibility (bool b)
* bool = obj.GetEdgeLabelVisibility ()
* obj.EdgeLabelVisibilityOn ()
* obj.EdgeLabelVisibilityOff ()
* obj.SetEdgeLabelTextProperty (vtkTextProperty p)
* vtkTextProperty = obj.GetEdgeLabelTextProperty ()
* obj.SetEdgeHoverArrayName (string )
* string = obj.GetEdgeHoverArrayName ()
* obj.SetHideEdgeLabelsOnInteraction (bool ) - Whether to
  hide the display of edge labels during mouse interaction.
  Default is off.
* bool = obj.GetHideEdgeLabelsOnInteraction () - Whether to
  hide the display of edge labels during mouse interaction.
  Default is off.
* obj.HideEdgeLabelsOnInteractionOn () - Whether to hide the
  display of edge labels during mouse interaction. Default
  is off.
* obj.HideEdgeLabelsOnInteractionOff () - Whether to hide
  the display of edge labels during mouse interaction.
  Default is off.
* obj.SetVertexIconArrayName (string name)
* string = obj.GetVertexIconArrayName ()
* obj.SetVertexIconPriorityArrayName (string name)
* string = obj.GetVertexIconPriorityArrayName ()
* obj.SetVertexIconVisibility (bool b)
* bool = obj.GetVertexIconVisibility ()
* obj.VertexIconVisibilityOn ()
* obj.VertexIconVisibilityOff ()
* obj.AddVertexIconType (string name, int type)
* obj.ClearVertexIconTypes ()
* obj.SetUseVertexIconTypeMap (bool b)
* bool = obj.GetUseVertexIconTypeMap ()
* obj.UseVertexIconTypeMapOn ()
* obj.UseVertexIconTypeMapOff ()
* obj.SetVertexIconAlignment (int align)
* int = obj.GetVertexIconAlignment ()
* obj.SetVertexSelectedIcon (int icon)
* int = obj.GetVertexSelectedIcon ()
* obj.SetVertexIconSelectionMode (int mode) - Set the mode
  to one of

  o vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon
  o vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon
    as offset
  o vtkApplyIcons::ANNOTATION_ICON - use current annotation
    icon
  o vtkApplyIcons::IGNORE_SELECTION - ignore selected
    elements

  The default is IGNORE_SELECTION.
* int = obj.GetVertexIconSelectionMode () - Set the mode to
  one of

  o vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon
  o vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon
    as offset
  o vtkApplyIcons::ANNOTATION_ICON - use current annotation
    icon
  o vtkApplyIcons::IGNORE_SELECTION - ignore selected
    elements

  The default is IGNORE_SELECTION.
* obj.SetVertexIconSelectionModeToSelectedIcon () - Set the
  mode to one of

  o vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon
  o vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon
    as offset
  o vtkApplyIcons::ANNOTATION_ICON - use current annotation
    icon
  o vtkApplyIcons::IGNORE_SELECTION - ignore selected
    elements

  The default is IGNORE_SELECTION.
* obj.SetVertexIconSelectionModeToSelectedOffset () - Set
  the mode to one of

  o vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon
  o vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon
    as offset
  o vtkApplyIcons::ANNOTATION_ICON - use current annotation
    icon
  o vtkApplyIcons::IGNORE_SELECTION - ignore selected
    elements

  The default is IGNORE_SELECTION.
* obj.SetVertexIconSelectionModeToAnnotationIcon () - Set
  the mode to one of

  o vtkApplyIcons::SELECTED_ICON - use VertexSelectedIcon
  o vtkApplyIcons::SELECTED_OFFSET - use VertexSelectedIcon
    as offset
  o vtkApplyIcons::ANNOTATION_ICON - use current annotation
    icon
  o vtkApplyIcons::IGNORE_SELECTION - ignore selected
    elements

  The default is IGNORE_SELECTION.
* obj.SetVertexIconSelectionModeToIgnoreSelection ()
* obj.SetEdgeIconArrayName (string name)
* string = obj.GetEdgeIconArrayName ()
* obj.SetEdgeIconPriorityArrayName (string name)
* string = obj.GetEdgeIconPriorityArrayName ()
* obj.SetEdgeIconVisibility (bool b)
* bool = obj.GetEdgeIconVisibility ()
* obj.EdgeIconVisibilityOn ()
* obj.EdgeIconVisibilityOff ()
* obj.AddEdgeIconType (string name, int type)
* obj.ClearEdgeIconTypes ()
* obj.SetUseEdgeIconTypeMap (bool b)
* bool = obj.GetUseEdgeIconTypeMap ()
* obj.UseEdgeIconTypeMapOn ()
* obj.UseEdgeIconTypeMapOff ()
* obj.SetEdgeIconAlignment (int align)
* int = obj.GetEdgeIconAlignment ()
* obj.SetColorVerticesByArray (bool b)
* bool = obj.GetColorVerticesByArray ()
* obj.ColorVerticesByArrayOn ()
* obj.ColorVerticesByArrayOff ()
* obj.SetVertexColorArrayName (string name)
* string = obj.GetVertexColorArrayName ()
* obj.SetColorEdgesByArray (bool b)
* bool = obj.GetColorEdgesByArray ()
* obj.ColorEdgesByArrayOn ()
* obj.ColorEdgesByArrayOff ()
* obj.SetEdgeColorArrayName (string name)
* string = obj.GetEdgeColorArrayName ()
* obj.SetEnableVerticesByArray (bool b)
* bool = obj.GetEnableVerticesByArray ()
* obj.EnableVerticesByArrayOn ()
* obj.EnableVerticesByArrayOff ()
* obj.SetEnabledVerticesArrayName (string name)
* string = obj.GetEnabledVerticesArrayName ()
* obj.SetEnableEdgesByArray (bool b)
* bool = obj.GetEnableEdgesByArray ()
* obj.EnableEdgesByArrayOn ()
* obj.EnableEdgesByArrayOff ()
* obj.SetEnabledEdgesArrayName (string name)
* string = obj.GetEnabledEdgesArrayName ()
* obj.SetEdgeVisibility (bool b)
* bool = obj.GetEdgeVisibility ()
* obj.EdgeVisibilityOn ()
* obj.EdgeVisibilityOff ()
* obj.SetLayoutStrategy (vtkGraphLayoutStrategy strategy) -
  Set/get the graph layout strategy.
* vtkGraphLayoutStrategy = obj.GetLayoutStrategy () - Set/
  get the graph layout strategy.
* obj.SetLayoutStrategy (string name) - Get/set the layout
  strategy by name.
* string = obj.GetLayoutStrategyName () - Get/set the layout
  strategy by name.
* obj.SetLayoutStrategyToRandom () - Set predefined layout
  strategies.
* obj.SetLayoutStrategyToForceDirected () - Set predefined
  layout strategies.
* obj.SetLayoutStrategyToSimple2D () - Set predefined layout
  strategies.
* obj.SetLayoutStrategyToClustering2D () - Set predefined
  layout strategies.
* obj.SetLayoutStrategyToCommunity2D () - Set predefined
  layout strategies.
* obj.SetLayoutStrategyToFast2D () - Set predefined layout
  strategies.
* obj.SetLayoutStrategyToPassThrough () - Set predefined
  layout strategies.
* obj.SetLayoutStrategyToCircular () - Set predefined layout
  strategies.
* obj.SetLayoutStrategyToTree () - Set predefined layout
  strategies.
* obj.SetLayoutStrategyToCosmicTree () - Set predefined
  layout strategies.
* obj.SetLayoutStrategyToCone () - Set predefined layout
  strategies.
* obj.SetLayoutStrategyToSpanTree () - Set the layout
  strategy to use coordinates from arrays. The x array must
  be specified. The y and z arrays are optional.
* obj.SetLayoutStrategyToAssignCoordinates (string xarr,
  string yarr, string zarr) - Set the layout strategy to use
  coordinates from arrays. The x array must be specified.
  The y and z arrays are optional.
* obj.SetLayoutStrategyToTree (bool radial, double angle,
  double leafSpacing, double logSpacing) - 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.
* obj.SetLayoutStrategyToCosmicTree (string
  nodeSizeArrayName, bool sizeLeafNodesOnlytrue, int
  layoutDepth, vtkIdType layoutRoot) - 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.
* obj.SetEdgeLayoutStrategy (vtkEdgeLayoutStrategy strategy)
  - Set/get the graph layout strategy.
* vtkEdgeLayoutStrategy = obj.GetEdgeLayoutStrategy () -
  Set/get the graph layout strategy.
* obj.SetEdgeLayoutStrategyToArcParallel () - Set/get the
  graph layout strategy.
* obj.SetEdgeLayoutStrategyToPassThrough () - Set the edge
  layout strategy to a geospatial arced strategy appropriate
  for vtkGeoView.
* obj.SetEdgeLayoutStrategyToGeo (double explodeFactor) -
  Set the edge layout strategy to a geospatial arced
  strategy appropriate for vtkGeoView.
* obj.SetEdgeLayoutStrategy (string name) - Set the edge
  layout strategy by name.
* string = obj.GetEdgeLayoutStrategyName () - Set the edge
  layout strategy by name.
* obj.ApplyViewTheme (vtkViewTheme theme) - Apply a theme to
  this representation.
* obj.SetGlyphType (int type) - Set the graph vertex glyph
  type.
* int = obj.GetGlyphType () - Set the graph vertex glyph
  type.
* obj.SetScaling (bool b) - Set whether to scale vertex
  glyphs.
* bool = obj.GetScaling () - Set whether to scale vertex
  glyphs.
* obj.ScalingOn () - Set whether to scale vertex glyphs.
* obj.ScalingOff () - Set whether to scale vertex glyphs.
* obj.SetScalingArrayName (string name) - Set the glyph
  scaling array name.
* string = obj.GetScalingArrayName () - Set the glyph
  scaling array name.
* obj.SetVertexScalarBarVisibility (bool b) - Vertex/edge
  scalar bar visibility.
* bool = obj.GetVertexScalarBarVisibility () - Vertex/edge
  scalar bar visibility.
* obj.SetEdgeScalarBarVisibility (bool b) - Vertex/edge
  scalar bar visibility.
* bool = obj.GetEdgeScalarBarVisibility () - Vertex/edge
  scalar bar visibility.
* bool = obj.IsLayoutComplete () - Whether the current graph
  layout is complete.
* obj.UpdateLayout () - Performs another iteration on the
  graph layout.
* obj.ComputeSelectedGraphBounds (double bounds[6]) -
  Compute the bounding box of the selected subgraph.


* FreeMat_Documentation
* Visualization_Toolkit_View_Classes
* Generated on Thu Jul 25 2013 17:18:36 for FreeMat by
  doxygen_ 1.8.1.1