 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkRenderedHierarchyRepresentation_h
27 #define vtkRenderedHierarchyRepresentation_h
30 #include "vtkViewsInfovisModule.h"
46 this->SetGraphEdgeLabelArrayName(
name, 0);
48 virtual void SetGraphEdgeLabelArrayName(
const char*
name,
int idx);
50 virtual const char* GetGraphEdgeLabelArrayName(
int idx);
54 virtual void SetGraphEdgeLabelVisibility(
bool vis,
int idx);
56 virtual bool GetGraphEdgeLabelVisibility(
int idx);
57 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
61 this->SetGraphEdgeColorArrayName(
name, 0);
63 virtual void SetGraphEdgeColorArrayName(
const char*
name,
int idx);
65 virtual const char* GetGraphEdgeColorArrayName(
int idx);
68 virtual void SetColorGraphEdgesByArray(
bool vis,
int idx);
70 virtual bool GetColorGraphEdgesByArray(
int idx);
71 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
75 this->SetGraphEdgeColorArrayName(
"fraction", 0);
79 this->SetGraphEdgeColorArrayName(
"fraction", idx);
83 virtual void SetGraphVisibility(
bool vis,
int idx);
85 virtual bool GetGraphVisibility(
int idx);
86 vtkBooleanMacro(GraphVisibility,
bool);
89 virtual void SetBundlingStrength(
double strength,
int idx);
91 virtual double GetBundlingStrength(
int idx);
100 virtual void SetGraphSplineType(
int type,
int idx);
101 virtual int GetGraphSplineType(
int idx);
105 virtual void SetGraphEdgeLabelFontSize(
int size,
int idx);
107 virtual int GetGraphEdgeLabelFontSize(
int idx);
124 bool ValidIndex(
int idx);
virtual bool GetColorGraphEdgesByArray()
void ApplyViewTheme(vtkViewTheme *theme) override
Apply a theme to this representation.
vtkSelection * ConvertSelection(vtkView *view, vtkSelection *sel) override
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
data object that represents a "selection" in VTK.
virtual void SetGraphVisibility(bool vis)
virtual void SetGraphEdgeColorToSplineFraction(int idx)
bool RemoveFromView(vtkView *view) override
The superclass for all views.
Sets theme colors for a graphical view.
bool AddToView(vtkView *view) override
Called by the view to add/remove this representation.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Connect inputs to internal pipeline.
virtual void SetColorGraphEdgesByArray(bool vis)
virtual double GetBundlingStrength()
virtual int GetGraphEdgeLabelFontSize()
virtual void SetGraphEdgeLabelVisibility(bool vis)
virtual void SetGraphEdgeLabelFontSize(int size)
virtual void SetGraphEdgeColorToSplineFraction()
virtual void SetBundlingStrength(double strength)
virtual const char * GetGraphEdgeColorArrayName()
a simple class to control print indentation
virtual bool GetGraphEdgeLabelVisibility()
virtual bool GetGraphVisibility()
virtual void SetGraphEdgeColorArrayName(const char *name)
virtual void SetGraphEdgeLabelArrayName(const char *name)
Internals * Implementation
virtual const char * GetGraphEdgeLabelArrayName()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkRenderedGraphRepresentation * New()