32 #ifndef vtkGraphLayoutView_h
33 #define vtkGraphLayoutView_h
36 #include "vtkViewsInfovisModule.h"
38 VTK_ABI_NAMESPACE_BEGIN
55 void SetVertexLabelArrayName(
const char*
name);
56 const char* GetVertexLabelArrayName();
63 void SetEdgeLabelArrayName(
const char*
name);
64 const char* GetEdgeLabelArrayName();
71 void SetVertexLabelVisibility(
bool vis);
72 bool GetVertexLabelVisibility();
73 vtkBooleanMacro(VertexLabelVisibility,
bool);
80 void SetHideVertexLabelsOnInteraction(
bool vis);
81 bool GetHideVertexLabelsOnInteraction();
82 vtkBooleanMacro(HideVertexLabelsOnInteraction,
bool);
89 void SetEdgeVisibility(
bool vis);
90 bool GetEdgeVisibility();
91 vtkBooleanMacro(EdgeVisibility,
bool);
98 void SetEdgeLabelVisibility(
bool vis);
99 bool GetEdgeLabelVisibility();
100 vtkBooleanMacro(EdgeLabelVisibility,
bool);
107 void SetHideEdgeLabelsOnInteraction(
bool vis);
108 bool GetHideEdgeLabelsOnInteraction();
109 vtkBooleanMacro(HideEdgeLabelsOnInteraction,
bool);
117 void SetVertexColorArrayName(
const char*
name);
118 const char* GetVertexColorArrayName();
125 void SetColorVertices(
bool vis);
126 bool GetColorVertices();
127 vtkBooleanMacro(ColorVertices,
bool);
134 void SetEdgeColorArrayName(
const char*
name);
135 const char* GetEdgeColorArrayName();
142 void SetColorEdges(
bool vis);
143 bool GetColorEdges();
144 vtkBooleanMacro(ColorEdges,
bool);
151 void SetEdgeSelection(
bool vis);
152 bool GetEdgeSelection();
153 vtkBooleanMacro(EdgeSelection,
bool);
160 void SetEnabledEdgesArrayName(
const char*
name);
161 const char* GetEnabledEdgesArrayName();
168 void SetEnableEdgesByArray(
bool vis);
169 int GetEnableEdgesByArray();
176 void SetEnabledVerticesArrayName(
const char*
name);
177 const char* GetEnabledVerticesArrayName();
184 void SetEnableVerticesByArray(
bool vis);
185 int GetEnableVerticesByArray();
192 void SetScalingArrayName(
const char*
name);
193 const char* GetScalingArrayName();
200 void SetScaledGlyphs(
bool arg);
201 bool GetScaledGlyphs();
202 vtkBooleanMacro(ScaledGlyphs,
bool);
224 void SetLayoutStrategy(
const char*
name);
237 const char* GetLayoutStrategyName();
258 void SetEdgeLayoutStrategy(
const char*
name);
261 const char* GetEdgeLayoutStrategyName();
279 void AddIconType(
const char*
type,
int index);
284 void ClearIconTypes();
290 void SetIconAlignment(
int alignment);
296 void SetIconVisibility(
bool b);
297 bool GetIconVisibility();
298 vtkBooleanMacro(IconVisibility,
bool);
305 void SetIconArrayName(
const char*
name);
306 const char* GetIconArrayName();
313 void SetGlyphType(
int type);
321 virtual void SetVertexLabelFontSize(
int size);
322 virtual int GetVertexLabelFontSize();
329 virtual void SetEdgeLabelFontSize(
int size);
330 virtual int GetEdgeLabelFontSize();
337 void SetEdgeScalarBarVisibility(
bool vis);
338 bool GetEdgeScalarBarVisibility();
345 void SetVertexScalarBarVisibility(
bool vis);
346 bool GetVertexScalarBarVisibility();
352 void ZoomToSelection();
360 virtual int IsLayoutComplete();
372 virtual void UpdateLayout();
392 bool VertexLabelsRequested;
393 bool EdgeLabelsRequested;
396 VTK_ABI_NAMESPACE_END
void SetLayoutStrategyToCosmicTree()
The layout strategy to use when performing the graph layout.
abstract base class for most VTK objects
Lays out and displays a graph.
void SetLayoutStrategyToTree()
The layout strategy to use when performing the graph layout.
static vtkRenderView * New()
void SetLayoutStrategyToSimple2D()
The layout strategy to use when performing the graph layout.
void SetLayoutStrategyToRandom()
The layout strategy to use when performing the graph layout.
void SetEdgeLayoutStrategyToArcParallel()
The layout strategy to use when performing the edge layout.
Proxy object to connect input/output ports.
abstract superclass for all graph layout strategies
void SetLayoutStrategyToSpanTree()
The layout strategy to use when performing the graph layout.
Sets theme colors for a graphical view.
a simple class to control print indentation
void ProcessEvents(vtkObject *caller, unsigned long eventId, void *callData) override
Called to process events.
void SetLayoutStrategyToCone()
The layout strategy to use when performing the graph layout.
The superclass for all representations.
void SetLayoutStrategyToCircular()
The layout strategy to use when performing the graph layout.
void SetLayoutStrategyToFast2D()
The layout strategy to use when performing the graph layout.
void SetLayoutStrategyToClustering2D()
The layout strategy to use when performing the graph layout.
void SetLayoutStrategyToForceDirected()
The layout strategy to use when performing the graph layout.
void SetEdgeLayoutStrategyToPassThrough()
The layout strategy to use when performing the edge layout.
A view containing a renderer.
abstract superclass for all edge layout strategies
void SetLayoutStrategyToPassThrough()
The layout strategy to use when performing the graph layout.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetLayoutStrategyToCommunity2D()
The layout strategy to use when performing the graph layout.
virtual vtkDataRepresentation * CreateDefaultRepresentation(vtkAlgorithmOutput *conn)
Create a default vtkDataRepresentation for the given vtkAlgorithmOutput.