VTK
vtkRenderedGraphRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderedGraphRepresentation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
31 #ifndef vtkRenderedGraphRepresentation_h
32 #define vtkRenderedGraphRepresentation_h
33 
34 #include "vtkViewsInfovisModule.h" // For export macro
36 #include "vtkSmartPointer.h" // for SP ivars
37 
38 class vtkActor;
39 class vtkApplyColors;
40 class vtkApplyIcons;
41 class vtkEdgeCenters;
42 class vtkEdgeLayout;
44 class vtkGraphLayout;
46 class vtkGraphToGlyphs;
47 class vtkGraphToPoints;
48 class vtkGraphToPolyData;
49 class vtkIconGlyphFilter;
50 class vtkInformation;
52 class vtkLookupTable;
55 class vtkPolyData;
56 class vtkPolyDataMapper;
59 class vtkRenderView;
60 class vtkScalarBarWidget;
61 class vtkScalarsToColors;
62 class vtkTextProperty;
63 class vtkTexturedActor2D;
65 class vtkVertexDegree;
66 class vtkView;
67 class vtkViewTheme;
68 
70 {
71 public:
74  void PrintSelf(ostream& os, vtkIndent indent);
75 
76  // ------------------------------------------------------------------------
77  // Vertex labels
78 
79  virtual void SetVertexLabelArrayName(const char* name);
80  virtual const char* GetVertexLabelArrayName();
81  virtual void SetVertexLabelPriorityArrayName(const char* name);
82  virtual const char* GetVertexLabelPriorityArrayName();
83  virtual void SetVertexLabelVisibility(bool b);
84  virtual bool GetVertexLabelVisibility();
85  vtkBooleanMacro(VertexLabelVisibility, bool);
88  vtkSetStringMacro(VertexHoverArrayName);
89  vtkGetStringMacro(VertexHoverArrayName);
91 
93  vtkSetMacro(HideVertexLabelsOnInteraction, bool)
94  vtkGetMacro(HideVertexLabelsOnInteraction, bool)
95  vtkBooleanMacro(HideVertexLabelsOnInteraction, bool)
97 
98  // ------------------------------------------------------------------------
99  // Edge labels
100 
101  virtual void SetEdgeLabelArrayName(const char* name);
102  virtual const char* GetEdgeLabelArrayName();
103  virtual void SetEdgeLabelPriorityArrayName(const char* name);
104  virtual const char* GetEdgeLabelPriorityArrayName();
105  virtual void SetEdgeLabelVisibility(bool b);
106  virtual bool GetEdgeLabelVisibility();
107  vtkBooleanMacro(EdgeLabelVisibility, bool);
108  virtual void SetEdgeLabelTextProperty(vtkTextProperty* p);
109  virtual vtkTextProperty* GetEdgeLabelTextProperty();
110  vtkSetStringMacro(EdgeHoverArrayName);
111  vtkGetStringMacro(EdgeHoverArrayName);
113 
115  vtkSetMacro(HideEdgeLabelsOnInteraction, bool)
116  vtkGetMacro(HideEdgeLabelsOnInteraction, bool)
117  vtkBooleanMacro(HideEdgeLabelsOnInteraction, bool)
119 
120  // ------------------------------------------------------------------------
121  // Vertex icons
122 
123  virtual void SetVertexIconArrayName(const char* name);
124  virtual const char* GetVertexIconArrayName();
125  virtual void SetVertexIconPriorityArrayName(const char* name);
126  virtual const char* GetVertexIconPriorityArrayName();
127  virtual void SetVertexIconVisibility(bool b);
128  virtual bool GetVertexIconVisibility();
129  vtkBooleanMacro(VertexIconVisibility, bool);
130  virtual void AddVertexIconType(const char* name, int type);
131  virtual void ClearVertexIconTypes();
132  virtual void SetUseVertexIconTypeMap(bool b);
133  virtual bool GetUseVertexIconTypeMap();
134  vtkBooleanMacro(UseVertexIconTypeMap, bool);
135  virtual void SetVertexIconAlignment(int align);
136  virtual int GetVertexIconAlignment();
137  virtual void SetVertexSelectedIcon(int icon);
138  virtual int GetVertexSelectedIcon();
139  virtual void SetVertexDefaultIcon(int icon);
140  virtual int GetVertexDefaultIcon();
141 
143 
148  virtual void SetVertexIconSelectionMode(int mode);
149  virtual int GetVertexIconSelectionMode();
150  virtual void SetVertexIconSelectionModeToSelectedIcon()
151  { this->SetVertexIconSelectionMode(0); }
153  { this->SetVertexIconSelectionMode(1); }
155  { this->SetVertexIconSelectionMode(2); }
157  { this->SetVertexIconSelectionMode(3); }
159 
160  // ------------------------------------------------------------------------
161  // Edge icons
162 
163  virtual void SetEdgeIconArrayName(const char* name);
164  virtual const char* GetEdgeIconArrayName();
165  virtual void SetEdgeIconPriorityArrayName(const char* name);
166  virtual const char* GetEdgeIconPriorityArrayName();
167  virtual void SetEdgeIconVisibility(bool b);
168  virtual bool GetEdgeIconVisibility();
169  vtkBooleanMacro(EdgeIconVisibility, bool);
170  virtual void AddEdgeIconType(const char* name, int type);
171  virtual void ClearEdgeIconTypes();
172  virtual void SetUseEdgeIconTypeMap(bool b);
173  virtual bool GetUseEdgeIconTypeMap();
174  vtkBooleanMacro(UseEdgeIconTypeMap, bool);
175  virtual void SetEdgeIconAlignment(int align);
176  virtual int GetEdgeIconAlignment();
177 
178  // ------------------------------------------------------------------------
179  // Vertex colors
180 
181  virtual void SetColorVerticesByArray(bool b);
182  virtual bool GetColorVerticesByArray();
183  vtkBooleanMacro(ColorVerticesByArray, bool);
184  virtual void SetVertexColorArrayName(const char* name);
185  virtual const char* GetVertexColorArrayName();
186 
187  // ------------------------------------------------------------------------
188  // Edge colors
189 
190  virtual void SetColorEdgesByArray(bool b);
191  virtual bool GetColorEdgesByArray();
192  vtkBooleanMacro(ColorEdgesByArray, bool);
193  virtual void SetEdgeColorArrayName(const char* name);
194  virtual const char* GetEdgeColorArrayName();
195 
196  // ------------------------------------------------------------------------
197  // Enabled vertices
198 
199  virtual void SetEnableVerticesByArray(bool b);
200  virtual bool GetEnableVerticesByArray();
201  vtkBooleanMacro(EnableVerticesByArray, bool);
202  virtual void SetEnabledVerticesArrayName(const char* name);
203  virtual const char* GetEnabledVerticesArrayName();
204 
205  // ------------------------------------------------------------------------
206  // Enabled edges
207 
208  virtual void SetEnableEdgesByArray(bool b);
209  virtual bool GetEnableEdgesByArray();
210  vtkBooleanMacro(EnableEdgesByArray, bool);
211  virtual void SetEnabledEdgesArrayName(const char* name);
212  virtual const char* GetEnabledEdgesArrayName();
213 
214  virtual void SetEdgeVisibility(bool b);
215  virtual bool GetEdgeVisibility();
216  vtkBooleanMacro(EdgeVisibility, bool);
217 
218  void SetEdgeSelection(bool b);
220 
221  // ------------------------------------------------------------------------
222  // Vertex layout strategy
223 
225 
226  virtual void SetLayoutStrategy(vtkGraphLayoutStrategy* strategy);
229 
231 
232  virtual void SetLayoutStrategy(const char* name);
233  vtkGetStringMacro(LayoutStrategyName);
235 
237 
239  { this->SetLayoutStrategy("Random"); }
241  { this->SetLayoutStrategy("Force Directed"); }
243  { this->SetLayoutStrategy("Simple 2D"); }
245  { this->SetLayoutStrategy("Clustering 2D"); }
247  { this->SetLayoutStrategy("Community 2D"); }
249  { this->SetLayoutStrategy("Fast 2D"); }
251  { this->SetLayoutStrategy("Pass Through"); }
253  { this->SetLayoutStrategy("Circular"); }
255  { this->SetLayoutStrategy("Tree"); }
257  { this->SetLayoutStrategy("Cosmic Tree"); }
259  { this->SetLayoutStrategy("Cone"); }
261  { this->SetLayoutStrategy("Span Tree"); }
263 
265 
268  const char* xarr, const char* yarr = 0, const char* zarr = 0);
270 
272 
282  bool radial,
283  double angle = 90,
284  double leafSpacing = 0.9,
285  double logSpacing = 1.0);
287 
289 
299  const char* nodeSizeArrayName,
300  bool sizeLeafNodesOnly = true,
301  int layoutDepth = 0,
302  vtkIdType layoutRoot = -1);
304 
305  // ------------------------------------------------------------------------
306  // Edge layout strategy
307 
309 
313  { this->SetEdgeLayoutStrategy("Arc Parallel"); }
315  { this->SetEdgeLayoutStrategy("Pass Through"); }
317 
320  virtual void SetEdgeLayoutStrategyToGeo(double explodeFactor = 0.2);
321 
323 
324  virtual void SetEdgeLayoutStrategy(const char* name);
325  vtkGetStringMacro(EdgeLayoutStrategyName);
327 
328  // ------------------------------------------------------------------------
329  // Miscellaneous
330 
332  virtual void ApplyViewTheme(vtkViewTheme* theme);
333 
335 
336  virtual void SetGlyphType(int type);
337  virtual int GetGlyphType();
339 
341 
342  virtual void SetScaling(bool b);
343  virtual bool GetScaling();
344  vtkBooleanMacro(Scaling, bool);
346 
348 
349  virtual void SetScalingArrayName(const char* name);
350  virtual const char* GetScalingArrayName();
352 
354 
355  virtual void SetVertexScalarBarVisibility(bool b);
357  virtual void SetEdgeScalarBarVisibility(bool b);
360 
362 
367 
369  virtual bool IsLayoutComplete();
370 
372  virtual void UpdateLayout();
373 
375  void ComputeSelectedGraphBounds( double bounds[6] );
376 
377 protected:
380 
382 
383  virtual bool AddToView(vtkView* view);
384  virtual bool RemoveFromView(vtkView* view);
386 
387  virtual void PrepareForRendering(vtkRenderView* view);
388 
390 
392 
394 
395  virtual int RequestData(
396  vtkInformation* request,
397  vtkInformationVector** inputVector,
398  vtkInformationVector* outputVector);
400 
401  //BTX
403 
432  //ETX
434 
437 
438  vtkSetStringMacro(VertexColorArrayNameInternal);
439  vtkGetStringMacro(VertexColorArrayNameInternal);
441 
442  vtkSetStringMacro(EdgeColorArrayNameInternal);
443  vtkGetStringMacro(EdgeColorArrayNameInternal);
445 
446  vtkSetStringMacro(ScalingArrayNameInternal);
447  vtkGetStringMacro(ScalingArrayNameInternal);
449 
450  vtkSetStringMacro(LayoutStrategyName);
452  vtkSetStringMacro(EdgeLayoutStrategyName);
456 
458 
459 private:
461  void operator=(const vtkRenderedGraphRepresentation&); // Not implemented
462 };
463 
464 #endif
465 
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:42
vtkRenderedGraphRepresentation::EdgeCenters
vtkSmartPointer< vtkEdgeCenters > EdgeCenters
Definition: vtkRenderedGraphRepresentation.h:407
vtkRenderedGraphRepresentation::OutlineGlyph
vtkSmartPointer< vtkGraphToGlyphs > OutlineGlyph
Definition: vtkRenderedGraphRepresentation.h:420
vtkRenderedGraphRepresentation::VertexHoverArrayName
char * VertexHoverArrayName
Definition: vtkRenderedGraphRepresentation.h:435
vtkScalarBarWidget
2D widget for manipulating a scalar bar
Definition: vtkScalarBarWidget.h:47
vtkGraphToPolyData
convert a vtkGraph to vtkPolyData
Definition: vtkGraphToPolyData.h:47
vtkRenderedGraphRepresentation::EdgeSelection
bool EdgeSelection
Definition: vtkRenderedGraphRepresentation.h:457
vtkViewsInfovisModule.h
vtkRenderedGraphRepresentation::RemoveFromView
virtual bool RemoveFromView(vtkView *view)
vtkPolyDataMapper2D
draw vtkPolyData onto the image plane
Definition: vtkPolyDataMapper2D.h:51
vtkRenderedGraphRepresentation::SetEdgeIconAlignment
virtual void SetEdgeIconAlignment(int align)
vtkRenderedGraphRepresentation::GetEdgeIconPriorityArrayName
virtual const char * GetEdgeIconPriorityArrayName()
vtkRenderView
A view containing a renderer.
Definition: vtkRenderView.h:64
vtkRenderedGraphRepresentation::GetVertexColorArrayName
virtual const char * GetVertexColorArrayName()
vtkgl::b
GLboolean GLboolean GLboolean b
Definition: vtkgl.h:12312
vtkRenderedGraphRepresentation::GetEdgeScalarBarVisibility
virtual bool GetEdgeScalarBarVisibility()
vtkRenderedGraphRepresentation::SetLayoutStrategyToPassThrough
void SetLayoutStrategyToPassThrough()
Definition: vtkRenderedGraphRepresentation.h:250
vtkRenderedGraphRepresentation::vtkRenderedGraphRepresentation
vtkRenderedGraphRepresentation()
vtkRenderedGraphRepresentation::SetVertexScalarBarVisibility
virtual void SetVertexScalarBarVisibility(bool b)
vtkRenderedGraphRepresentation::GetEdgeLayoutStrategy
virtual vtkEdgeLayoutStrategy * GetEdgeLayoutStrategy()
vtkTexturedActor2D
actor that draws 2D data with texture support
Definition: vtkTexturedActor2D.h:41
vtkRenderedRepresentation
Definition: vtkRenderedRepresentation.h:42
vtkVertexDegree
Adds an attribute array with the degree of each vertex.
Definition: vtkVertexDegree.h:45
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkRenderedGraphRepresentation::EdgeColorArrayNameInternal
char * EdgeColorArrayNameInternal
Definition: vtkRenderedGraphRepresentation.h:443
vtkRenderedGraphRepresentation::EdgeScalarBar
vtkSmartPointer< vtkScalarBarWidget > EdgeScalarBar
Definition: vtkRenderedGraphRepresentation.h:424
vtkRenderedGraphRepresentation::PrepareForRendering
virtual void PrepareForRendering(vtkRenderView *view)
vtkRenderedGraphRepresentation::SetEdgeScalarBarVisibility
virtual void SetEdgeScalarBarVisibility(bool b)
vtkRenderedGraphRepresentation::SetScaling
virtual void SetScaling(bool b)
vtkRenderedGraphRepresentation::GetGlyphType
virtual int GetGlyphType()
vtkRenderedGraphRepresentation::SetLayoutStrategyToForceDirected
void SetLayoutStrategyToForceDirected()
Definition: vtkRenderedGraphRepresentation.h:240
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkGraphLayoutStrategy
abstract superclass for all graph layout strategies
Definition: vtkGraphLayoutStrategy.h:45
VTKVIEWSINFOVIS_EXPORT
#define VTKVIEWSINFOVIS_EXPORT
Definition: vtkViewsInfovisModule.h:15
vtkRenderedGraphRepresentation::ApplyColors
vtkSmartPointer< vtkApplyColors > ApplyColors
Definition: vtkRenderedGraphRepresentation.h:404
vtkRenderedGraphRepresentation::EdgeMapper
vtkSmartPointer< vtkPolyDataMapper > EdgeMapper
Definition: vtkRenderedGraphRepresentation.h:415
vtkRenderedGraphRepresentation::OutlineActor
vtkSmartPointer< vtkActor > OutlineActor
Definition: vtkRenderedGraphRepresentation.h:422
vtkRenderedGraphRepresentation::SetEdgeLayoutStrategyToGeo
virtual void SetEdgeLayoutStrategyToGeo(double explodeFactor=0.2)
vtkRenderedGraphRepresentation::SetLayoutStrategyToClustering2D
void SetLayoutStrategyToClustering2D()
Definition: vtkRenderedGraphRepresentation.h:244
vtkRenderedGraphRepresentation::VertexColorArrayNameInternal
char * VertexColorArrayNameInternal
Definition: vtkRenderedGraphRepresentation.h:439
vtkRenderedGraphRepresentation::GetEdgeIconArrayName
virtual const char * GetEdgeIconArrayName()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkRenderedGraphRepresentation::OutlineMapper
vtkSmartPointer< vtkPolyDataMapper > OutlineMapper
Definition: vtkRenderedGraphRepresentation.h:421
vtkRenderedGraphRepresentation::SetEdgeIconArrayName
virtual void SetEdgeIconArrayName(const char *name)
vtkSmartPointer< vtkApplyColors >
vtkRenderedGraphRepresentation::SetColorEdgesByArray
virtual void SetColorEdgesByArray(bool b)
vtkEdgeLayout
layout graph edges
Definition: vtkEdgeLayout.h:41
vtkRenderedGraphRepresentation::VertexScalarBar
vtkSmartPointer< vtkScalarBarWidget > VertexScalarBar
Definition: vtkRenderedGraphRepresentation.h:423
vtkRenderedGraphRepresentation::HideEdgeLabelsOnInteraction
bool HideEdgeLabelsOnInteraction
Definition: vtkRenderedGraphRepresentation.h:455
vtkRenderedGraphRepresentation::GetEdgeIconVisibility
virtual bool GetEdgeIconVisibility()
vtkApplyColors
apply colors to a data set.
Definition: vtkApplyColors.h:86
vtkRenderedGraphRepresentation::SetLayoutStrategyToCommunity2D
void SetLayoutStrategyToCommunity2D()
Definition: vtkRenderedGraphRepresentation.h:246
vtkRenderedGraphRepresentation::VertexLabelHierarchy
vtkSmartPointer< vtkPointSetToLabelHierarchy > VertexLabelHierarchy
Definition: vtkRenderedGraphRepresentation.h:409
vtkRenderedGraphRepresentation::~vtkRenderedGraphRepresentation
~vtkRenderedGraphRepresentation()
vtkRenderedGraphRepresentation::EdgeLabelHierarchy
vtkSmartPointer< vtkPointSetToLabelHierarchy > EdgeLabelHierarchy
Definition: vtkRenderedGraphRepresentation.h:410
vtkRenderedGraphRepresentation::SetVertexColorArrayName
virtual void SetVertexColorArrayName(const char *name)
vtkSelection
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:45
vtkRenderedGraphRepresentation::GetEnabledEdgesArrayName
virtual const char * GetEnabledEdgesArrayName()
vtkRenderedGraphRepresentation::GetScalingArrayName
virtual const char * GetScalingArrayName()
vtkRenderedGraphRepresentation::AddEdgeIconType
virtual void AddEdgeIconType(const char *name, int type)
vtkIconGlyphFilter
Filter that generates a polydata consisting of quads with texture coordinates referring to a set of i...
Definition: vtkIconGlyphFilter.h:62
vtkRenderedGraphRepresentation
Definition: vtkRenderedGraphRepresentation.h:70
vtkRenderedGraphRepresentation::GetEdgeColorArrayName
virtual const char * GetEdgeColorArrayName()
vtkRenderedGraphRepresentation::EdgeLayoutStrategyName
char * EdgeLayoutStrategyName
Definition: vtkRenderedGraphRepresentation.h:452
vtkRenderedGraphRepresentation::VertexMapper
vtkSmartPointer< vtkPolyDataMapper > VertexMapper
Definition: vtkRenderedGraphRepresentation.h:418
vtkRenderedGraphRepresentation::SetEdgeLayoutStrategy
virtual void SetEdgeLayoutStrategy(const char *name)
vtkRenderedGraphRepresentation::ScalingArrayNameInternal
char * ScalingArrayNameInternal
Definition: vtkRenderedGraphRepresentation.h:447
vtkRenderedGraphRepresentation::ApplyViewTheme
virtual void ApplyViewTheme(vtkViewTheme *theme)
vtkRenderedRepresentation.h
vtkRenderedGraphRepresentation::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkRenderedGraphRepresentation::VertexIconMapper
vtkSmartPointer< vtkPolyDataMapper2D > VertexIconMapper
Definition: vtkRenderedGraphRepresentation.h:430
vtkRenderedGraphRepresentation::GetVertexLabelTextProperty
virtual vtkTextProperty * GetVertexLabelTextProperty()
vtkRenderedGraphRepresentation::SetLayoutStrategyToTree
virtual void SetLayoutStrategyToTree(bool radial, double angle=90, double leafSpacing=0.9, double logSpacing=1.0)
vtkPerturbCoincidentVertices
Perturbs vertices that are coincident.
Definition: vtkPerturbCoincidentVertices.h:41
vtkView
The superclass for all views.
Definition: vtkView.h:63
vtkGraphToGlyphs
create glyphs for graph vertices
Definition: vtkGraphToGlyphs.h:47
vtkGraphToPoints
convert a vtkGraph a set of points.
Definition: vtkGraphToPoints.h:40
vtkRenderedGraphRepresentation::GetEdgeIconAlignment
virtual int GetEdgeIconAlignment()
vtkViewTheme
Sets theme colors for a graphical view.
Definition: vtkViewTheme.h:48
vtkRenderedGraphRepresentation::EdgeHoverArrayName
char * EdgeHoverArrayName
Definition: vtkRenderedGraphRepresentation.h:436
vtkRenderedGraphRepresentation::GetVertexScalarBar
virtual vtkScalarBarWidget * GetVertexScalarBar()
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkRenderedGraphRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkRenderedGraphRepresentation::SetLayoutStrategyToCosmicTree
void SetLayoutStrategyToCosmicTree()
Definition: vtkRenderedGraphRepresentation.h:256
vtkRenderedGraphRepresentation::SetEdgeIconVisibility
virtual void SetEdgeIconVisibility(bool b)
vtkRenderedGraphRepresentation::VertexActor
vtkSmartPointer< vtkActor > VertexActor
Definition: vtkRenderedGraphRepresentation.h:419
vtkRenderedGraphRepresentation::SetVertexIconSelectionModeToSelectedOffset
virtual void SetVertexIconSelectionModeToSelectedOffset()
Definition: vtkRenderedGraphRepresentation.h:152
vtkRenderedGraphRepresentation::SetEnabledEdgesArrayName
virtual void SetEnabledEdgesArrayName(const char *name)
vtkRenderedGraphRepresentation::SetLayoutStrategyToSimple2D
void SetLayoutStrategyToSimple2D()
Definition: vtkRenderedGraphRepresentation.h:242
vtkRenderedGraphRepresentation::VertexIconPoints
vtkSmartPointer< vtkGraphToPoints > VertexIconPoints
Definition: vtkRenderedGraphRepresentation.h:427
vtkRenderedGraphRepresentation::SetVertexIconSelectionModeToIgnoreSelection
virtual void SetVertexIconSelectionModeToIgnoreSelection()
Definition: vtkRenderedGraphRepresentation.h:156
vtkRenderedGraphRepresentation::GetEdgeVisibility
virtual bool GetEdgeVisibility()
vtkRenderedGraphRepresentation::GraphToPoly
vtkSmartPointer< vtkGraphToPolyData > GraphToPoly
Definition: vtkRenderedGraphRepresentation.h:414
vtkRenderedGraphRepresentation::GetVertexScalarBarVisibility
virtual bool GetVertexScalarBarVisibility()
vtkRenderedGraphRepresentation::SetLayoutStrategyToAssignCoordinates
virtual void SetLayoutStrategyToAssignCoordinates(const char *xarr, const char *yarr=0, const char *zarr=0)
vtkTransformCoordinateSystems
transform points into different coordinate systems
Definition: vtkTransformCoordinateSystems.h:38
vtkRenderedGraphRepresentation::GetColorVerticesByArray
virtual bool GetColorVerticesByArray()
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkRenderedGraphRepresentation::HideVertexLabelsOnInteraction
bool HideVertexLabelsOnInteraction
Definition: vtkRenderedGraphRepresentation.h:454
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRenderedGraphRepresentation::SetScalingArrayName
virtual void SetScalingArrayName(const char *name)
vtkUnicodeString
String class that stores Unicode text.
Definition: vtkUnicodeString.h:72
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkRenderedGraphRepresentation::GraphToPoints
vtkSmartPointer< vtkGraphToPoints > GraphToPoints
Definition: vtkRenderedGraphRepresentation.h:408
vtkRenderedGraphRepresentation::GetEnableVerticesByArray
virtual bool GetEnableVerticesByArray()
vtkSmartPointer.h
vtkRenderedGraphRepresentation::SetLayoutStrategy
virtual void SetLayoutStrategy(const char *name)
vtkRenderedGraphRepresentation::AddToView
virtual bool AddToView(vtkView *view)
vtkRenderedGraphRepresentation::SetEdgeColorArrayName
virtual void SetEdgeColorArrayName(const char *name)
vtkPointSetToLabelHierarchy
build a label hierarchy for a graph or point set.
Definition: vtkPointSetToLabelHierarchy.h:47
vtkRenderedGraphRepresentation::GetLayoutStrategy
virtual vtkGraphLayoutStrategy * GetLayoutStrategy()
vtkRenderedGraphRepresentation::SetEnableVerticesByArray
virtual void SetEnableVerticesByArray(bool b)
vtkRenderedGraphRepresentation::SetEdgeLayoutStrategy
virtual void SetEdgeLayoutStrategy(vtkEdgeLayoutStrategy *strategy)
vtkRenderedGraphRepresentation::VertexIconTransform
vtkSmartPointer< vtkTransformCoordinateSystems > VertexIconTransform
Definition: vtkRenderedGraphRepresentation.h:428
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkRenderedGraphRepresentation::EdgeLayout
vtkSmartPointer< vtkEdgeLayout > EdgeLayout
Definition: vtkRenderedGraphRepresentation.h:413
vtkScalarsToColors
Superclass for mapping scalar values to colors.
Definition: vtkScalarsToColors.h:63
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkRenderedGraphRepresentation::IsLayoutComplete
virtual bool IsLayoutComplete()
vtkRenderedGraphRepresentation::SetLayoutStrategyToFast2D
void SetLayoutStrategyToFast2D()
Definition: vtkRenderedGraphRepresentation.h:248
vtkRenderedGraphRepresentation::ComputeSelectedGraphBounds
void ComputeSelectedGraphBounds(double bounds[6])
vtkRenderedGraphRepresentation::GetEdgeScalarBar
virtual vtkScalarBarWidget * GetEdgeScalarBar()
vtkRenderedGraphRepresentation::SetVertexLabelPriorityArrayName
virtual void SetVertexLabelPriorityArrayName(const char *name)
vtkRenderedGraphRepresentation::GetScaling
virtual bool GetScaling()
vtkRenderedGraphRepresentation::SetLayoutStrategyToSpanTree
void SetLayoutStrategyToSpanTree()
Definition: vtkRenderedGraphRepresentation.h:260
vtkRenderedGraphRepresentation::ApplyVertexIcons
vtkSmartPointer< vtkApplyIcons > ApplyVertexIcons
Definition: vtkRenderedGraphRepresentation.h:426
vtkRenderedGraphRepresentation::SetLayoutStrategy
virtual void SetLayoutStrategy(vtkGraphLayoutStrategy *strategy)
vtkTextProperty
represent text properties.
Definition: vtkTextProperty.h:39
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkRenderedGraphRepresentation::SetVertexLabelArrayName
virtual void SetVertexLabelArrayName(const char *name)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkLookupTable
map scalar values into colors via a lookup table
Definition: vtkLookupTable.h:74
vtkRenderedGraphRepresentation::VertexGlyph
vtkSmartPointer< vtkGraphToGlyphs > VertexGlyph
Definition: vtkRenderedGraphRepresentation.h:417
vtkRenderedGraphRepresentation::Layout
vtkSmartPointer< vtkGraphLayout > Layout
Definition: vtkRenderedGraphRepresentation.h:411
vtkRenderedGraphRepresentation::GetVertexLabelVisibility
virtual bool GetVertexLabelVisibility()
vtkRenderedGraphRepresentation::SetUseEdgeIconTypeMap
virtual void SetUseEdgeIconTypeMap(bool b)
vtkRenderedGraphRepresentation::SetEdgeIconPriorityArrayName
virtual void SetEdgeIconPriorityArrayName(const char *name)
vtkRenderedGraphRepresentation::ClearEdgeIconTypes
virtual void ClearEdgeIconTypes()
vtkRenderedGraphRepresentation::SetVertexIconSelectionModeToAnnotationIcon
virtual void SetVertexIconSelectionModeToAnnotationIcon()
Definition: vtkRenderedGraphRepresentation.h:154
vtkRenderedGraphRepresentation::GetHoverTextInternal
virtual vtkUnicodeString GetHoverTextInternal(vtkSelection *sel)
vtkRenderedGraphRepresentation::SetGlyphType
virtual void SetGlyphType(int type)
vtkRemoveHiddenData
Removes the rows/edges/vertices of input data flagged by ann.
Definition: vtkRemoveHiddenData.h:45
vtkRenderedGraphRepresentation::SetEnableEdgesByArray
virtual void SetEnableEdgesByArray(bool b)
vtkRenderedGraphRepresentation::VertexIconGlyph
vtkSmartPointer< vtkIconGlyphFilter > VertexIconGlyph
Definition: vtkRenderedGraphRepresentation.h:429
vtkRenderedGraphRepresentation::UpdateLayout
virtual void UpdateLayout()
vtkRenderedGraphRepresentation::SetLayoutStrategyToCosmicTree
virtual void SetLayoutStrategyToCosmicTree(const char *nodeSizeArrayName, bool sizeLeafNodesOnly=true, int layoutDepth=0, vtkIdType layoutRoot=-1)
vtkRenderedGraphRepresentation::Coincident
vtkSmartPointer< vtkPerturbCoincidentVertices > Coincident
Definition: vtkRenderedGraphRepresentation.h:412
vtkRenderedGraphRepresentation::SetLayoutStrategyToTree
void SetLayoutStrategyToTree()
Definition: vtkRenderedGraphRepresentation.h:254
vtkRenderedGraphRepresentation::GetColorEdgesByArray
virtual bool GetColorEdgesByArray()
vtkRenderedGraphRepresentation::SetEdgeLayoutStrategyToArcParallel
void SetEdgeLayoutStrategyToArcParallel()
Definition: vtkRenderedGraphRepresentation.h:312
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkRenderedGraphRepresentation::SetEdgeSelection
void SetEdgeSelection(bool b)
vtkRenderedGraphRepresentation::GetEdgeSelection
bool GetEdgeSelection()
vtkRenderedGraphRepresentation::RemoveHiddenGraph
vtkSmartPointer< vtkRemoveHiddenData > RemoveHiddenGraph
Definition: vtkRenderedGraphRepresentation.h:425
vtkRenderedGraphRepresentation::GetVertexLabelPriorityArrayName
virtual const char * GetVertexLabelPriorityArrayName()
vtkgl::angle
GLfloat angle
Definition: vtkgl.h:18174
vtkgl::p
GLfloat GLfloat p
Definition: vtkgl.h:15717
vtkEdgeLayoutStrategy
abstract superclass for all edge layout strategies
Definition: vtkEdgeLayoutStrategy.h:36
vtkRenderedGraphRepresentation::ConvertSelection
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *sel)
vtkRenderedGraphRepresentation::SetLayoutStrategyToCircular
void SetLayoutStrategyToCircular()
Definition: vtkRenderedGraphRepresentation.h:252
vtkRenderedGraphRepresentation::SetColorVerticesByArray
virtual void SetColorVerticesByArray(bool b)
vtkRenderedGraphRepresentation::SetEnabledVerticesArrayName
virtual void SetEnabledVerticesArrayName(const char *name)
vtkRenderedGraphRepresentation::SetVertexLabelTextProperty
virtual void SetVertexLabelTextProperty(vtkTextProperty *p)
vtkEdgeCenters
generate points at center of edges
Definition: vtkEdgeCenters.h:41
vtkRenderedGraphRepresentation::GetEnabledVerticesArrayName
virtual const char * GetEnabledVerticesArrayName()
vtkRenderedGraphRepresentation::LayoutStrategyName
char * LayoutStrategyName
Definition: vtkRenderedGraphRepresentation.h:450
vtkRenderedGraphRepresentation::SetLayoutStrategyToCone
void SetLayoutStrategyToCone()
Definition: vtkRenderedGraphRepresentation.h:258
vtkRenderedGraphRepresentation::SetVertexLabelVisibility
virtual void SetVertexLabelVisibility(bool b)
vtkgl::mode
GLenum mode
Definition: vtkgl.h:12325
vtkgl::type
GLuint GLuint GLsizei GLenum type
Definition: vtkgl.h:11315
vtkRenderedGraphRepresentation::SetEdgeLayoutStrategyToPassThrough
void SetEdgeLayoutStrategyToPassThrough()
Definition: vtkRenderedGraphRepresentation.h:314
vtkRenderedGraphRepresentation::EdgeActor
vtkSmartPointer< vtkActor > EdgeActor
Definition: vtkRenderedGraphRepresentation.h:416
vtkRenderedGraphRepresentation::VertexIconActor
vtkSmartPointer< vtkTexturedActor2D > VertexIconActor
Definition: vtkRenderedGraphRepresentation.h:431
vtkGraphLayout
layout a graph in 2 or 3 dimensions
Definition: vtkGraphLayout.h:50
vtkRenderedGraphRepresentation::EmptyPolyData
vtkSmartPointer< vtkPolyData > EmptyPolyData
Definition: vtkRenderedGraphRepresentation.h:406
vtkRenderedGraphRepresentation::SetLayoutStrategyToRandom
void SetLayoutStrategyToRandom()
Definition: vtkRenderedGraphRepresentation.h:238
vtkRenderedGraphRepresentation::GetEnableEdgesByArray
virtual bool GetEnableEdgesByArray()
vtkRenderedGraphRepresentation::VertexDegree
vtkSmartPointer< vtkVertexDegree > VertexDegree
Definition: vtkRenderedGraphRepresentation.h:405
vtkRenderedGraphRepresentation::GetVertexLabelArrayName
virtual const char * GetVertexLabelArrayName()
vtkRenderedGraphRepresentation::SetEdgeVisibility
virtual void SetEdgeVisibility(bool b)
vtkRenderedGraphRepresentation::GetUseEdgeIconTypeMap
virtual bool GetUseEdgeIconTypeMap()
vtkApplyIcons
apply icons to a data set.
Definition: vtkApplyIcons.h:70
vtkRenderedGraphRepresentation::New
static vtkRenderedGraphRepresentation * New()