13#ifndef vtkRenderedTreeAreaRepresentation_h 
   14#define vtkRenderedTreeAreaRepresentation_h 
   17#include "vtkViewsInfovisModule.h"  
   19VTK_ABI_NAMESPACE_BEGIN
 
   84    this->SetGraphEdgeLabelArrayName(name, 0);
 
   97    this->SetGraphEdgeLabelTextProperty(tp, 0);
 
  102    return this->GetGraphEdgeLabelTextProperty(0);
 
  112  vtkSetStringMacro(AreaHoverArrayName);
 
  113  vtkGetStringMacro(AreaHoverArrayName);
 
  122  vtkBooleanMacro(AreaLabelVisibility, 
bool);
 
  141  vtkBooleanMacro(GraphEdgeLabelVisibility, 
bool);
 
  158  vtkBooleanMacro(ColorAreasByArray, 
bool);
 
  167    this->SetGraphEdgeColorArrayName(name, 0);
 
  188  vtkBooleanMacro(ColorGraphEdgesByArray, 
bool);
 
  216    this->SetGraphBundlingStrength(strength, 0);
 
  256  vtkSetMacro(UseRectangularCoordinates, 
bool);
 
  257  vtkGetMacro(UseRectangularCoordinates, 
bool);
 
  258  vtkBooleanMacro(UseRectangularCoordinates, 
bool);
 
  327  vtkSetStringMacro(AreaSizeArrayNameInternal);
 
  328  vtkGetStringMacro(AreaSizeArrayNameInternal);
 
  330  vtkSetStringMacro(AreaColorArrayNameInternal);
 
  331  vtkGetStringMacro(AreaColorArrayNameInternal);
 
  333  vtkSetStringMacro(AreaLabelArrayNameInternal);
 
  334  vtkGetStringMacro(AreaLabelArrayNameInternal);
 
  336  vtkSetStringMacro(AreaLabelPriorityArrayNameInternal);
 
  337  vtkGetStringMacro(AreaLabelPriorityArrayNameInternal);
 
  339  vtkSetStringMacro(GraphEdgeColorArrayNameInternal);
 
  340  vtkGetStringMacro(GraphEdgeColorArrayNameInternal);
 
  342  vtkGetStringMacro(AreaHoverTextInternal);
 
  343  vtkSetStringMacro(AreaHoverTextInternal);
 
  354  Internals* Implementation;
 
a actor that draws 2D data
 
represents an object (geometry & properties) in a rendered scene
 
abstract superclass for all area layout strategies
 
layout a vtkTree into a tree map
 
Convert a selection from one type to another.
 
generate points at center of edges
 
a simple class to control print indentation
 
draw text labels at dataset points
 
build a label hierarchy for a graph or point set.
 
Superclass for algorithms that produce only polydata as output.
 
map vtkPolyData to graphics primitives
 
concrete dataset represents vertices, lines, polygons, and triangle strips
 
A view containing a renderer.
 
vtkSmartPointer< vtkVertexDegree > VertexDegree
 
bool RemoveFromView(vtkView *view) override
Called by the view to add/remove this representation.
 
char * AreaLabelArrayNameInternal
 
virtual void SetShrinkPercentage(double value)
Set the region shrink percentage between 0.0 and 1.0.
 
virtual void SetEdgeScalarBarVisibility(bool b)
Visibility of scalar bar actor for edges.
 
virtual void SetAreaSizeArrayName(const char *name)
The array to use for area sizes.
 
virtual const char * GetGraphHoverArrayName()
The name of the array whose value appears when the mouse hovers over a graph edge.
 
vtkSmartPointer< vtkScalarBarWidget > EdgeScalarBar
 
virtual vtkTextProperty * GetGraphEdgeLabelTextProperty(int idx)
The text property for the graph edge labels.
 
virtual void SetAreaLabelVisibility(bool vis)
Whether to show area labels.
 
virtual const char * GetAreaLabelArrayName()
The array to use for area labeling.
 
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)
Whether to color edges.
 
void UpdateHoverHighlight(vtkView *view, int x, int y)
 
virtual void SetGraphHoverArrayName(const char *name, int idx)
The name of the array whose value appears when the mouse hovers over a graph edge.
 
vtkSmartPointer< vtkTreeLevelsFilter > TreeLevels
 
virtual void SetAreaLayoutStrategy(vtkAreaLayoutStrategy *strategy)
The layout strategy for producing spatial regions for the tree.
 
vtkSmartPointer< vtkWorldPointPicker > Picker
 
bool UseRectangularCoordinates
 
vtkRenderedTreeAreaRepresentation()
 
virtual const char * GetAreaLabelPriorityArrayName()
The array to use for area labeling priority.
 
vtkSmartPointer< vtkActor > AreaActor
 
char * GraphEdgeColorArrayNameInternal
 
void PrepareForRendering(vtkRenderView *view) override
The view will call this method before every render.
 
~vtkRenderedTreeAreaRepresentation() override
 
vtkSmartPointer< vtkPolyData > HighlightData
 
virtual void SetColorAreasByArray(bool vis)
Whether to color vertices.
 
virtual void SetAreaToPolyData(vtkPolyDataAlgorithm *areaToPoly)
The filter for converting areas to polydata.
 
virtual vtkAreaLayoutStrategy * GetAreaLayoutStrategy()
The layout strategy for producing spatial regions for the tree.
 
bool AddToView(vtkView *view) override
Called by the view to add/remove this representation.
 
virtual void SetColorGraphEdgesByArray(bool vis, int idx)
Whether to color edges.
 
virtual void SetGraphEdgeLabelVisibility(bool vis)
Whether to show edge labels.
 
virtual void SetGraphBundlingStrength(double strength, int idx)
Set the bundling strength.
 
virtual void SetGraphHoverArrayName(const char *name)
The name of the array whose value appears when the mouse hovers over a graph edge.
 
virtual void SetGraphBundlingStrength(double strength)
Set the bundling strength.
 
virtual const char * GetGraphEdgeColorArrayName()
The array to use for coloring edges.
 
virtual vtkTextProperty * GetGraphEdgeLabelTextProperty()
The text property for the graph edge labels.
 
virtual double GetGraphBundlingStrength()
Set the bundling strength.
 
virtual bool GetColorAreasByArray()
Whether to color vertices.
 
virtual void SetAreaLabelPriorityArrayName(const char *name)
The array to use for area labeling priority.
 
const char * GetAreaColorArrayName()
The array to use for coloring vertices.
 
vtkSmartPointer< vtkTreeFieldAggregator > TreeAggregation
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses should override this to connect inputs to the internal pipeline as necessary.
 
virtual const char * GetGraphEdgeLabelArrayName(int idx)
The array to use for edge labeling.
 
virtual double GetShrinkPercentage()
Set the region shrink percentage between 0.0 and 1.0.
 
vtkSmartPointer< vtkPointSetToLabelHierarchy > AreaLabelHierarchy
 
vtkSmartPointer< vtkPolyDataMapper > HighlightMapper
 
virtual void SetGraphEdgeColorArrayName(const char *name)
The array to use for coloring edges.
 
char * AreaLabelPriorityArrayNameInternal
 
virtual void SetGraphEdgeLabelTextProperty(vtkTextProperty *tp, int idx)
The text property for the graph edge labels.
 
virtual int GetGraphSplineType(int idx)
Sets the spline type for the graph edges.
 
virtual const char * GetAreaSizeArrayName()
The array to use for area sizes.
 
void ApplyViewTheme(vtkViewTheme *theme) override
Apply the theme to this view.
 
virtual double GetGraphBundlingStrength(int idx)
Set the bundling strength.
 
virtual void SetGraphSplineType(int type, int idx)
Sets the spline type for the graph edges.
 
virtual void SetGraphEdgeLabelVisibility(bool vis, int idx)
Whether to show edge labels.
 
virtual void SetGraphEdgeColorToSplineFraction()
Set the color to be the spline fraction.
 
vtkPolyDataAlgorithm * AreaToPolyData
 
virtual bool GetColorGraphEdgesByArray()
Whether to color edges.
 
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)
The array to use for coloring edges.
 
char * AreaHoverTextInternal
 
char * AreaHoverArrayName
 
virtual bool GetAreaLabelVisibility()
Whether to show area labels.
 
virtual void SetAreaLabelArrayName(const char *name)
The array to use for area labeling.
 
virtual void SetGraphEdgeLabelArrayName(const char *name, int idx)
The array to use for edge labeling.
 
virtual void SetAreaLabelTextProperty(vtkTextProperty *tp)
The text property for the area labels.
 
void SetAreaColorArrayName(const char *name)
The array to use for coloring vertices.
 
vtkSmartPointer< vtkActor2D > AreaLabelActor
 
virtual bool GetGraphEdgeLabelVisibility(int idx)
Whether to show edge labels.
 
std::string GetHoverStringInternal(vtkSelection *sel) override
Subclasses may override this method to generate the hover text.
 
virtual const char * GetGraphHoverArrayName(int idx)
The name of the array whose value appears when the mouse hovers over a graph edge.
 
void SetLabelRenderMode(int mode) override
Set the label render mode.
 
virtual void SetGraphEdgeColorToSplineFraction(int idx)
 
virtual bool GetEdgeScalarBarVisibility()
Visibility of scalar bar actor for edges.
 
vtkSmartPointer< vtkApplyColors > ApplyColors
 
virtual bool GetGraphEdgeLabelVisibility()
Whether to show edge labels.
 
virtual bool GetColorGraphEdgesByArray(int idx)
Whether to color edges.
 
vtkLabeledDataMapper * AreaLabelMapper
 
char * AreaColorArrayNameInternal
 
char * AreaSizeArrayNameInternal
 
virtual const char * GetGraphEdgeLabelArrayName()
The array to use for edge labeling.
 
virtual void SetGraphEdgeLabelArrayName(const char *name)
The array to use for edge labeling.
 
vtkSmartPointer< vtkAreaLayout > AreaLayout
 
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
 
vtkSmartPointer< vtkPolyData > EmptyPolyData
 
virtual void SetAreaLabelMapper(vtkLabeledDataMapper *mapper)
The mapper for rendering labels on areas.
 
virtual void SetGraphEdgeLabelTextProperty(vtkTextProperty *tp)
The text property for the graph edge labels.
 
static vtkRenderedTreeAreaRepresentation * New()
 
virtual void SetGraphEdgeColorArrayName(const char *name, int idx)
The array to use for coloring edges.
 
vtkSmartPointer< vtkActor > HighlightActor
 
virtual vtkTextProperty * GetAreaLabelTextProperty()
The text property for the area labels.
 
vtkSmartPointer< vtkPolyDataMapper > AreaMapper
 
data object that represents a "selection" in VTK.
 
Hold a reference to a vtkObjectBase instance.
 
represent text properties.
 
aggregate field values from the leaves up the tree
 
adds level and leaf fields to a vtkTree
 
Adds an attribute array with the degree of each vertex.
 
Sets theme colors for a graphical view.
 
The superclass for all views.
 
find world x,y,z corresponding to display x,y,z