Go to the documentation of this file.
29 #ifndef vtkRenderedHierarchyRepresentation_h
30 #define vtkRenderedHierarchyRepresentation_h
32 #include "vtkViewsInfovisModule.h"
47 { this->SetGraphEdgeLabelArrayName(
name, 0); }
50 {
return this->GetGraphEdgeLabelArrayName(0); }
55 { this->SetGraphEdgeLabelVisibility(vis, 0); }
58 {
return this->GetGraphEdgeLabelVisibility(0); }
60 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
63 { this->SetGraphEdgeColorArrayName(
name, 0); }
66 {
return this->GetGraphEdgeColorArrayName(0); }
70 { this->SetColorGraphEdgesByArray(vis, 0); }
73 {
return this->GetColorGraphEdgesByArray(0); }
75 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
78 { this->SetGraphEdgeColorArrayName(
"fraction", 0); }
80 { this->SetGraphEdgeColorArrayName(
"fraction", idx); }
83 { this->SetGraphVisibility(vis, 0); }
86 {
return this->GetGraphVisibility(0); }
88 vtkBooleanMacro(GraphVisibility,
bool);
91 { this->SetBundlingStrength(strength, 0); }
94 {
return this->GetBundlingStrength(0); }
109 { this->SetGraphEdgeLabelFontSize(
size, 0); }
112 {
return this->GetGraphEdgeLabelFontSize(0); }
virtual bool GetColorGraphEdgesByArray()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkSelection * ConvertSelection(vtkView *view, vtkSelection *sel) override
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
virtual void SetGraphEdgeLabelVisibility(bool vis, int idx)
virtual bool GetColorGraphEdgesByArray(int idx)
data object that represents a "selection" in VTK.
virtual bool GetGraphEdgeLabelVisibility(int idx)
virtual void SetGraphVisibility(bool vis)
virtual void SetGraphEdgeColorToSplineFraction(int idx)
virtual void SetColorGraphEdgesByArray(bool vis, int idx)
virtual void SetGraphEdgeLabelFontSize(int size, int idx)
virtual double GetBundlingStrength(int idx)
The superclass for all views.
Sets theme colors for a graphical view.
virtual void SetColorGraphEdgesByArray(bool vis)
virtual double GetBundlingStrength()
virtual int GetGraphEdgeLabelFontSize()
virtual void SetGraphEdgeLabelVisibility(bool vis)
virtual void SetGraphEdgeLabelFontSize(int size)
virtual void SetGraphEdgeColorToSplineFraction()
bool RemoveFromView(vtkView *view) override
virtual void SetBundlingStrength(double strength)
virtual const char * GetGraphEdgeColorArrayName()
virtual void SetGraphEdgeLabelArrayName(const char *name, int idx)
a simple class to control print indentation
virtual bool GetGraphEdgeLabelVisibility()
bool AddToView(vtkView *view) override
Called by the view to add/remove this representation.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Sets up the input connections for this representation.
virtual bool GetGraphVisibility()
virtual void SetGraphEdgeColorArrayName(const char *name)
virtual int GetGraphEdgeLabelFontSize(int idx)
vtkRenderedHierarchyRepresentation()
virtual void SetGraphEdgeLabelArrayName(const char *name)
~vtkRenderedHierarchyRepresentation() override
virtual const char * GetGraphEdgeColorArrayName(int idx)
virtual const char * GetGraphEdgeLabelArrayName(int idx)
Internals * Implementation
virtual const char * GetGraphEdgeLabelArrayName()
void ApplyViewTheme(vtkViewTheme *theme) override
virtual void SetBundlingStrength(double strength, int idx)
virtual void SetGraphVisibility(bool vis, int idx)
bool ValidIndex(int idx)
Whether idx is a valid graph index.
virtual int GetGraphSplineType(int idx)
virtual void SetGraphEdgeColorArrayName(const char *name, int idx)
virtual void SetGraphSplineType(int type, int idx)
Sets the spline type for the graph edges.
virtual bool GetGraphVisibility(int idx)
static vtkRenderedHierarchyRepresentation * New()