42 #ifndef vtkGraphLayoutView_h 43 #define vtkGraphLayoutView_h 46 #include "vtkViewsInfovisModule.h" 64 void SetVertexLabelArrayName(
const char*
name);
65 const char* GetVertexLabelArrayName();
72 void SetEdgeLabelArrayName(
const char*
name);
73 const char* GetEdgeLabelArrayName();
80 void SetVertexLabelVisibility(
bool vis);
81 bool GetVertexLabelVisibility();
82 vtkBooleanMacro(VertexLabelVisibility,
bool);
89 void SetHideVertexLabelsOnInteraction(
bool vis);
90 bool GetHideVertexLabelsOnInteraction();
91 vtkBooleanMacro(HideVertexLabelsOnInteraction,
bool);
98 void SetEdgeVisibility(
bool vis);
99 bool GetEdgeVisibility();
100 vtkBooleanMacro(EdgeVisibility,
bool);
107 void SetEdgeLabelVisibility(
bool vis);
108 bool GetEdgeLabelVisibility();
109 vtkBooleanMacro(EdgeLabelVisibility,
bool);
116 void SetHideEdgeLabelsOnInteraction(
bool vis);
117 bool GetHideEdgeLabelsOnInteraction();
118 vtkBooleanMacro(HideEdgeLabelsOnInteraction,
bool);
126 void SetVertexColorArrayName(
const char*
name);
127 const char* GetVertexColorArrayName();
134 void SetColorVertices(
bool vis);
135 bool GetColorVertices();
136 vtkBooleanMacro(ColorVertices,
bool);
143 void SetEdgeColorArrayName(
const char*
name);
144 const char* GetEdgeColorArrayName();
151 void SetColorEdges(
bool vis);
152 bool GetColorEdges();
153 vtkBooleanMacro(ColorEdges,
bool);
160 void SetEdgeSelection(
bool vis);
161 bool GetEdgeSelection();
162 vtkBooleanMacro(EdgeSelection,
bool);
169 void SetEnabledEdgesArrayName(
const char*
name);
170 const char* GetEnabledEdgesArrayName();
177 void SetEnableEdgesByArray(
bool vis);
178 int GetEnableEdgesByArray();
185 void SetEnabledVerticesArrayName(
const char*
name);
186 const char* GetEnabledVerticesArrayName();
193 void SetEnableVerticesByArray(
bool vis);
194 int GetEnableVerticesByArray();
201 void SetScalingArrayName(
const char*
name);
202 const char* GetScalingArrayName();
209 void SetScaledGlyphs(
bool arg);
210 bool GetScaledGlyphs();
211 vtkBooleanMacro(ScaledGlyphs,
bool);
233 void SetLayoutStrategy(
const char*
name);
246 const char* GetLayoutStrategyName();
267 void SetEdgeLayoutStrategy(
const char*
name);
270 const char* GetEdgeLayoutStrategyName();
288 void AddIconType(
const char*
type,
int index);
293 void ClearIconTypes();
299 void SetIconAlignment(
int alignment);
305 void SetIconVisibility(
bool b);
306 bool GetIconVisibility();
307 vtkBooleanMacro(IconVisibility,
bool);
314 void SetIconArrayName(
const char*
name);
315 const char* GetIconArrayName();
322 void SetGlyphType(
int type);
330 virtual void SetVertexLabelFontSize(
const int size);
331 virtual int GetVertexLabelFontSize();
338 virtual void SetEdgeLabelFontSize(
const int size);
339 virtual int GetEdgeLabelFontSize();
346 void SetEdgeScalarBarVisibility(
bool vis);
347 bool GetEdgeScalarBarVisibility();
354 void SetVertexScalarBarVisibility(
bool vis);
355 bool GetVertexScalarBarVisibility();
361 void ZoomToSelection();
369 virtual int IsLayoutComplete();
381 virtual void UpdateLayout();
401 bool VertexLabelsRequested;
402 bool EdgeLabelsRequested;
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.