Go to the documentation of this file.
31 #ifndef vtkRenderedTreeAreaRepresentation_h
32 #define vtkRenderedTreeAreaRepresentation_h
90 { this->SetGraphEdgeLabelArrayName(
name, 0); }
93 {
return this->GetGraphEdgeLabelArrayName(0); }
100 { this->SetGraphEdgeLabelTextProperty(tp, 0); }
103 {
return this->GetGraphEdgeLabelTextProperty(0); }
130 { this->SetGraphEdgeLabelVisibility(vis, 0); }
133 {
return this->GetGraphEdgeLabelVisibility(0); }
154 { this->SetGraphEdgeColorArrayName(
name, 0); }
157 {
return this->GetGraphEdgeColorArrayName(0); }
164 { this->SetGraphEdgeColorToSplineFraction(0); }
171 { this->SetColorGraphEdgesByArray(vis, 0); }
174 {
return this->GetColorGraphEdgesByArray(0); }
183 { this->SetGraphHoverArrayName(
name, 0); }
186 {
return this->GetGraphHoverArrayName(0); }
199 { this->SetGraphBundlingStrength(strength, 0); }
202 {
return this->GetGraphBundlingStrength(0); }
map vtkPolyData to graphics primitives
virtual bool AddToView(vtkView *view)
#define vtkGetObjectMacro(name, type)
virtual void SetGraphEdgeLabelVisibility(bool vis)
virtual double GetGraphBundlingStrength(int idx)
vtkLabeledDataMapper * AreaLabelMapper
virtual void SetColorAreasByArray(bool vis)
virtual vtkUnicodeString GetHoverTextInternal(vtkSelection *sel)
A view containing a renderer.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
GLboolean GLboolean GLboolean b
char * AreaHoverTextInternal
virtual void SetGraphEdgeColorArrayName(const char *name, int idx)
vtkSmartPointer< vtkActor > AreaActor
char * AreaLabelPriorityArrayNameInternal
Adds an attribute array with the degree of each vertex.
virtual vtkTextProperty * GetAreaLabelTextProperty()
virtual void SetShrinkPercentage(double value)
char * AreaColorArrayNameInternal
#define VTKVIEWSINFOVIS_EXPORT
virtual double GetShrinkPercentage()
find world x,y,z corresponding to display x,y,z
virtual bool GetGraphEdgeLabelVisibility(int idx)
vtkSmartPointer< vtkTreeFieldAggregator > TreeAggregation
#define vtkTypeMacro(thisClass, superclass)
const char * GetAreaColorArrayName()
vtkSmartPointer< vtkVertexDegree > VertexDegree
GLint GLint GLint GLint GLint x
virtual void SetColorGraphEdgesByArray(bool vis)
virtual const char * GetGraphEdgeColorArrayName(int idx)
static vtkRenderedTreeAreaRepresentation * New()
vtkSmartPointer< vtkActor2D > AreaLabelActor
A node in a selection tree. Used to store selection results.
vtkSmartPointer< vtkPolyDataMapper > AreaMapper
adds level and leaf fields to a vtkTree
virtual const char * GetGraphHoverArrayName()
virtual double GetGraphBundlingStrength()
virtual vtkSelection * ConvertSelection(vtkView *view, vtkSelection *sel)
vtkSmartPointer< vtkAreaLayout > AreaLayout
virtual void SetGraphEdgeColorToSplineFraction(int idx)
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual bool RemoveFromView(vtkView *view)
virtual void SetGraphBundlingStrength(double strength, int idx)
virtual vtkAreaLayoutStrategy * GetAreaLayoutStrategy()
The superclass for all views.
virtual vtkTextProperty * GetGraphEdgeLabelTextProperty()
Sets theme colors for a graphical view.
virtual bool GetColorAreasByArray()
GLuint const GLchar * name
aggregate field values from the leaves up the tree
~vtkRenderedTreeAreaRepresentation()
GLsizei const GLfloat * value
char * GraphEdgeColorArrayNameInternal
virtual void SetAreaLayoutStrategy(vtkAreaLayoutStrategy *strategy)
vtkSmartPointer< vtkPolyData > HighlightData
virtual const char * GetGraphEdgeLabelArrayName()
virtual vtkTextProperty * GetGraphEdgeLabelTextProperty(int idx)
vtkPolyDataAlgorithm * AreaToPolyData
represents an object (geometry & properties) in a rendered scene
virtual void SetGraphEdgeLabelVisibility(bool vis, int idx)
a simple class to control print indentation
String class that stores Unicode text.
#define vtkSetStringMacro(name)
virtual const char * GetAreaLabelArrayName()
virtual void SetGraphHoverArrayName(const char *name)
virtual void PrepareForRendering(vtkRenderView *view)
virtual void SetAreaLabelMapper(vtkLabeledDataMapper *mapper)
virtual void SetAreaLabelTextProperty(vtkTextProperty *tp)
vtkSmartPointer< vtkApplyColors > ApplyColors
virtual void SetGraphSplineType(int type, int idx)
virtual void SetAreaLabelVisibility(bool vis)
build a label hierarchy for a graph or point set.
virtual const char * GetGraphHoverArrayName(int idx)
virtual bool GetEdgeScalarBarVisibility()
virtual void SetAreaToPolyData(vtkPolyDataAlgorithm *areaToPoly)
#define vtkGetMacro(name, type)
void PrintSelf(ostream &os, vtkIndent indent)
vtkGetStringMacro(ExtensionsString)
virtual void SetGraphBundlingStrength(double strength)
bool UseRectangularCoordinates
vtkSmartPointer< vtkActor > HighlightActor
vtkSmartPointer< vtkPolyData > EmptyPolyData
virtual void SetAreaSizeArrayName(const char *name)
virtual void SetEdgeScalarBarVisibility(bool b)
vtkSmartPointer< vtkTreeLevelsFilter > TreeLevels
virtual void SetGraphHoverArrayName(const char *name, int idx)
Internals * Implementation
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
virtual const char * GetAreaSizeArrayName()
vtkSetMacro(IgnoreDriverBugs, bool)
virtual bool GetGraphEdgeLabelVisibility()
virtual void SetGraphEdgeLabelTextProperty(vtkTextProperty *tp, int idx)
void UpdateHoverHighlight(vtkView *view, int x, int y)
a actor that draws 2D data
virtual bool GetColorGraphEdgesByArray()
draw text labels at dataset points
vtkSmartPointer< vtkScalarBarWidget > EdgeScalarBar
virtual void SetAreaLabelArrayName(const char *name)
GLint GLint GLint GLint GLint GLint y
virtual const char * GetAreaLabelPriorityArrayName()
vtkRenderedTreeAreaRepresentation()
virtual void SetGraphEdgeColorArrayName(const char *name)
virtual void SetGraphEdgeLabelArrayName(const char *name, int idx)
vtkSmartPointer< vtkPointSetToLabelHierarchy > AreaLabelHierarchy
char * AreaLabelArrayNameInternal
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void SetGraphEdgeColorToSplineFraction()
virtual const char * GetGraphEdgeColorArrayName()
layout a vtkTree into a tree map
void SetAreaColorArrayName(const char *name)
virtual const char * GetGraphEdgeLabelArrayName(int idx)
generate points at center of edges
virtual void SetColorGraphEdgesByArray(bool vis, int idx)
virtual void SetAreaLabelPriorityArrayName(const char *name)
virtual void SetGraphEdgeLabelArrayName(const char *name)
char * AreaHoverArrayName
virtual bool GetColorGraphEdgesByArray(int idx)
char * AreaSizeArrayNameInternal
Convert a selection from one type to another.
GLuint GLuint GLsizei GLenum type
abstract superclass for all area layout strategies
vtkSmartPointer< vtkWorldPointPicker > Picker
virtual void SetLabelRenderMode(int mode)
virtual void ApplyViewTheme(vtkViewTheme *theme)
virtual void SetGraphEdgeLabelTextProperty(vtkTextProperty *tp)
virtual bool GetAreaLabelVisibility()
virtual int GetGraphSplineType(int idx)
vtkSmartPointer< vtkPolyDataMapper > HighlightMapper
Superclass for algorithms that produce only polydata as output.