26#ifndef vtkRenderedHierarchyRepresentation_h
27#define vtkRenderedHierarchyRepresentation_h
30#include "vtkViewsInfovisModule.h"
46 this->SetGraphEdgeLabelArrayName(name, 0);
57 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
61 this->SetGraphEdgeColorArrayName(name, 0);
71 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
75 this->SetGraphEdgeColorArrayName(
"fraction", 0);
79 this->SetGraphEdgeColorArrayName(
"fraction", idx);
86 vtkBooleanMacro(GraphVisibility,
bool);
a simple class to control print indentation
vtkRenderedHierarchyRepresentation()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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 GetGraphEdgeLabelVisibility()
virtual void SetGraphEdgeLabelFontSize(int size)
virtual void SetColorGraphEdgesByArray(bool vis, int idx)
virtual void SetGraphEdgeLabelArrayName(const char *name, int idx)
virtual const char * GetGraphEdgeLabelArrayName(int idx)
virtual const char * GetGraphEdgeColorArrayName()
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)
static vtkRenderedHierarchyRepresentation * New()
virtual int GetGraphEdgeLabelFontSize()
virtual const char * GetGraphEdgeLabelArrayName()
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 * GetGraphEdgeColorArrayName(int idx)
~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)
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.