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); }
63 { this->SetGraphEdgeColorArrayName(
name, 0); }
66 {
return this->GetGraphEdgeColorArrayName(0); }
70 { this->SetColorGraphEdgesByArray(vis, 0); }
73 {
return this->GetColorGraphEdgesByArray(0); }
78 { this->SetGraphEdgeColorArrayName(
"fraction", 0); }
80 { this->SetGraphEdgeColorArrayName(
"fraction", idx); }
83 { this->SetGraphVisibility(vis, 0); }
86 {
return this->GetGraphVisibility(0); }
91 { this->SetBundlingStrength(strength, 0); }
94 {
return this->GetBundlingStrength(0); }
109 { this->SetGraphEdgeLabelFontSize(
size, 0); }
112 {
return this->GetGraphEdgeLabelFontSize(0); }
a simple class to control print indentation
vtkRenderedHierarchyRepresentation()
virtual void SetGraphEdgeLabelVisibility(bool vis, int idx)
virtual bool GetGraphEdgeLabelVisibility()
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual void SetGraphEdgeLabelFontSize(int size)
~vtkRenderedHierarchyRepresentation()
virtual void SetColorGraphEdgesByArray(bool vis, int idx)
virtual void SetGraphEdgeLabelArrayName(const char *name, int idx)
virtual const char * GetGraphEdgeLabelArrayName(int idx)
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *sel)
Convert the selection to a type appropriate for sharing with other representations through vtkAnnotat...
virtual const char * GetGraphEdgeColorArrayName()
virtual bool GetColorGraphEdgesByArray(int idx)
virtual void ApplyViewTheme(vtkViewTheme *theme)
Apply a theme to this representation.
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)
bool ValidIndex(int idx)
Whether idx is a valid graph index.
virtual void SetBundlingStrength(double strength)
static vtkRenderedHierarchyRepresentation * New()
virtual bool AddToView(vtkView *view)
Called by the view to add/remove this representation.
virtual int GetGraphEdgeLabelFontSize()
virtual const char * GetGraphEdgeLabelArrayName()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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)
Internals * Implementation
virtual const char * GetGraphEdgeColorArrayName(int idx)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Sets up the input connections for 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 bool RemoveFromView(vtkView *view)
virtual void SetGraphVisibility(bool vis, int idx)
virtual void SetGraphEdgeLabelVisibility(bool vis)
virtual bool GetColorGraphEdgesByArray()
virtual double GetBundlingStrength()
virtual void SetGraphEdgeColorToSplineFraction(int idx)
A node in a selection tree.
Sets theme colors for a graphical view.
The superclass for all views.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.