29 #ifndef vtkRenderedHierarchyRepresentation_h 30 #define vtkRenderedHierarchyRepresentation_h 32 #include "vtkViewsInfovisModule.h" 47 { this->SetGraphEdgeLabelArrayName(name, 0); }
48 virtual void SetGraphEdgeLabelArrayName(
const char*
name,
int idx);
50 {
return this->GetGraphEdgeLabelArrayName(0); }
51 virtual const char* GetGraphEdgeLabelArrayName(
int idx);
55 { this->SetGraphEdgeLabelVisibility(vis, 0); }
56 virtual void SetGraphEdgeLabelVisibility(
bool vis,
int idx);
58 {
return this->GetGraphEdgeLabelVisibility(0); }
59 virtual bool GetGraphEdgeLabelVisibility(
int idx);
60 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
63 { this->SetGraphEdgeColorArrayName(name, 0); }
64 virtual void SetGraphEdgeColorArrayName(
const char* name,
int idx);
66 {
return this->GetGraphEdgeColorArrayName(0); }
67 virtual const char* GetGraphEdgeColorArrayName(
int idx);
70 { this->SetColorGraphEdgesByArray(vis, 0); }
71 virtual void SetColorGraphEdgesByArray(
bool vis,
int idx);
73 {
return this->GetColorGraphEdgesByArray(0); }
74 virtual bool GetColorGraphEdgesByArray(
int idx);
75 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
78 { this->SetGraphEdgeColorArrayName(
"fraction", 0); }
80 { this->SetGraphEdgeColorArrayName(
"fraction", idx); }
83 { this->SetGraphVisibility(vis, 0); }
84 virtual void SetGraphVisibility(
bool vis,
int idx);
86 {
return this->GetGraphVisibility(0); }
87 virtual bool GetGraphVisibility(
int idx);
88 vtkBooleanMacro(GraphVisibility,
bool);
91 { this->SetBundlingStrength(strength, 0); }
92 virtual void SetBundlingStrength(
double strength,
int idx);
94 {
return this->GetBundlingStrength(0); }
95 virtual double GetBundlingStrength(
int idx);
104 virtual void SetGraphSplineType(
int type,
int idx);
105 virtual int GetGraphSplineType(
int idx);
109 { this->SetGraphEdgeLabelFontSize(size, 0); }
110 virtual void SetGraphEdgeLabelFontSize(
int size,
int idx);
112 {
return this->GetGraphEdgeLabelFontSize(0); }
113 virtual int GetGraphEdgeLabelFontSize(
int idx);
130 bool ValidIndex(
int idx);
virtual bool GetGraphEdgeLabelVisibility()
virtual void SetGraphEdgeLabelFontSize(int size)
vtkSelection * ConvertSelection(vtkView *view, vtkSelection *sel) override
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
virtual void SetColorGraphEdgesByArray(bool vis)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetGraphEdgeLabelVisibility(bool vis)
virtual void SetGraphEdgeColorToSplineFraction()
virtual bool GetGraphVisibility()
virtual void SetGraphEdgeLabelArrayName(const char *name)
virtual const char * GetGraphEdgeLabelArrayName()
data object that represents a "selection" in VTK.
virtual void SetGraphEdgeColorArrayName(const char *name)
Internals * Implementation
Sets theme colors for a graphical view.
The superclass for all views.
a simple class to control print indentation
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Connect inputs to internal pipeline.
virtual bool GetColorGraphEdgesByArray()
virtual void SetGraphVisibility(bool vis)
bool RemoveFromView(vtkView *view) override
Called by the view to add/remove this representation.
void ApplyViewTheme(vtkViewTheme *theme) override
Apply a theme to this representation.
static vtkRenderedGraphRepresentation * New()
virtual double GetBundlingStrength()
bool AddToView(vtkView *view) override
Called by the view to add/remove this representation.
virtual int GetGraphEdgeLabelFontSize()
virtual const char * GetGraphEdgeColorArrayName()
virtual void SetGraphEdgeColorToSplineFraction(int idx)
virtual void SetBundlingStrength(double strength)