13 #ifndef vtkRenderedHierarchyRepresentation_h
14 #define vtkRenderedHierarchyRepresentation_h
17 #include "vtkViewsInfovisModule.h"
19 VTK_ABI_NAMESPACE_BEGIN
34 this->SetGraphEdgeLabelArrayName(
name, 0);
45 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
49 this->SetGraphEdgeColorArrayName(
name, 0);
59 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
63 this->SetGraphEdgeColorArrayName(
"fraction", 0);
67 this->SetGraphEdgeColorArrayName(
"fraction", idx);
74 vtkBooleanMacro(GraphVisibility,
bool);
134 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
vtkSelection * ConvertSelection(vtkView *view, vtkSelection *sel) override
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
vtkRenderedHierarchyRepresentation()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual const char * GetGraphEdgeColorArrayName(int idx)
virtual void SetGraphEdgeLabelVisibility(bool vis, int idx)
virtual bool GetGraphEdgeLabelVisibility()
virtual void SetGraphEdgeLabelFontSize(int size)
virtual void SetColorGraphEdgesByArray(bool vis, int idx)
virtual void SetGraphEdgeLabelArrayName(const char *name, int idx)
virtual bool GetColorGraphEdgesByArray(int idx)
virtual bool GetGraphVisibility(int idx)
virtual void SetGraphEdgeColorArrayName(const char *name, int idx)
virtual void SetGraphEdgeLabelFontSize(int size, int idx)
virtual int GetGraphEdgeLabelFontSize(int idx)
virtual int GetGraphSplineType(int idx)
Sets the spline type for the graph edges.
bool ValidIndex(int idx)
Whether idx is a valid graph index.
void ApplyViewTheme(vtkViewTheme *theme) override
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Sets up the input connections for this representation.
virtual void SetBundlingStrength(double strength)
virtual int GetGraphEdgeLabelFontSize()
virtual const char * GetGraphEdgeColorArrayName()
virtual const char * GetGraphEdgeLabelArrayName(int idx)
virtual void SetGraphEdgeColorArrayName(const char *name)
virtual void SetGraphVisibility(bool vis)
virtual double GetBundlingStrength(int idx)
virtual void SetGraphEdgeLabelArrayName(const char *name)
virtual void SetBundlingStrength(double strength, int idx)
bool RemoveFromView(vtkView *view) override
Called by the view to add/remove this representation.
Internals * Implementation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual const char * GetGraphEdgeLabelArrayName()
~vtkRenderedHierarchyRepresentation() override
bool AddToView(vtkView *view) override
Called by the view to add/remove this representation.
virtual void SetColorGraphEdgesByArray(bool vis)
virtual bool GetGraphVisibility()
virtual bool GetGraphEdgeLabelVisibility(int idx)
virtual void SetGraphSplineType(int type, int idx)
Sets the spline type for the graph edges.
virtual void SetGraphEdgeColorToSplineFraction()
virtual void SetGraphVisibility(bool vis, int idx)
virtual void SetGraphEdgeLabelVisibility(bool vis)
static vtkRenderedHierarchyRepresentation * New()
virtual bool GetColorGraphEdgesByArray()
virtual double GetBundlingStrength()
virtual void SetGraphEdgeColorToSplineFraction(int idx)
data object that represents a "selection" in VTK.
Sets theme colors for a graphical view.
The superclass for all views.