VTK
vtkHierarchicalGraphView.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHierarchicalGraphView.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
46 #ifndef vtkHierarchicalGraphView_h
47 #define vtkHierarchicalGraphView_h
48 
49 #include "vtkViewsInfovisModule.h" // For export macro
50 #include "vtkGraphLayoutView.h"
51 
53 
55 {
56 public:
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
69 
71 
72  virtual void SetGraphEdgeLabelArrayName(const char* name);
73  virtual const char* GetGraphEdgeLabelArrayName();
75 
77 
78  virtual void SetGraphEdgeLabelVisibility(bool vis);
80  vtkBooleanMacro(GraphEdgeLabelVisibility, bool);
82 
84 
85  virtual void SetGraphEdgeColorArrayName(const char* name);
86  virtual const char* GetGraphEdgeColorArrayName();
88 
91 
93 
94  virtual void SetColorGraphEdgesByArray(bool vis);
95  virtual bool GetColorGraphEdgesByArray();
96  vtkBooleanMacro(ColorGraphEdgesByArray, bool);
98 
100 
101  virtual void SetBundlingStrength(double strength);
102  virtual double GetBundlingStrength();
104 
106 
107  virtual void SetGraphVisibility(bool b);
108  virtual bool GetGraphVisibility();
109  vtkBooleanMacro(GraphVisibility, bool);
111 
113 
114  virtual void SetGraphEdgeLabelFontSize(const int size);
117 
118 protected:
121 
123 
129 
130 private:
131  vtkHierarchicalGraphView(const vtkHierarchicalGraphView&); // Not implemented.
132  void operator=(const vtkHierarchicalGraphView&); // Not implemented.
133 };
134 
135 #endif
vtkViewsInfovisModule.h
vtkHierarchicalGraphView::SetGraphEdgeColorToSplineFraction
virtual void SetGraphEdgeColorToSplineFraction()
vtkRenderedHierarchyRepresentation
Definition: vtkRenderedHierarchyRepresentation.h:35
vtkHierarchicalGraphView::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkgl::b
GLboolean GLboolean GLboolean b
Definition: vtkgl.h:12312
vtkHierarchicalGraphView::SetGraphEdgeLabelVisibility
virtual void SetGraphEdgeLabelVisibility(bool vis)
VTKVIEWSINFOVIS_EXPORT
#define VTKVIEWSINFOVIS_EXPORT
Definition: vtkViewsInfovisModule.h:15
vtkHierarchicalGraphView::GetHierarchyRepresentation
virtual vtkRenderedHierarchyRepresentation * GetHierarchyRepresentation()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHierarchicalGraphView::SetHierarchyFromInput
vtkDataRepresentation * SetHierarchyFromInput(vtkDataObject *input)
vtkGraphLayoutView.h
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkRenderedGraphRepresentation
Definition: vtkRenderedGraphRepresentation.h:70
vtkHierarchicalGraphView::GetGraphEdgeLabelVisibility
virtual bool GetGraphEdgeLabelVisibility()
vtkGraphLayoutView
Lays out and displays a graph.
Definition: vtkGraphLayoutView.h:59
vtkHierarchicalGraphView::New
static vtkHierarchicalGraphView * New()
vtkHierarchicalGraphView::~vtkHierarchicalGraphView
~vtkHierarchicalGraphView()
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkHierarchicalGraphView::SetGraphFromInputConnection
vtkDataRepresentation * SetGraphFromInputConnection(vtkAlgorithmOutput *conn)
vtkDataRepresentation
The superclass for all representations.
Definition: vtkDataRepresentation.h:72
vtkHierarchicalGraphView::GetGraphVisibility
virtual bool GetGraphVisibility()
vtkHierarchicalGraphView::GetColorGraphEdgesByArray
virtual bool GetColorGraphEdgesByArray()
vtkHierarchicalGraphView::SetGraphEdgeLabelFontSize
virtual void SetGraphEdgeLabelFontSize(const int size)
vtkHierarchicalGraphView::GetGraphEdgeLabelFontSize
virtual int GetGraphEdgeLabelFontSize()
vtkHierarchicalGraphView::GetGraphEdgeColorArrayName
virtual const char * GetGraphEdgeColorArrayName()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkHierarchicalGraphView::SetGraphEdgeLabelArrayName
virtual void SetGraphEdgeLabelArrayName(const char *name)
vtkHierarchicalGraphView::SetHierarchyFromInputConnection
vtkDataRepresentation * SetHierarchyFromInputConnection(vtkAlgorithmOutput *conn)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkHierarchicalGraphView::CreateDefaultRepresentation
virtual vtkDataRepresentation * CreateDefaultRepresentation(vtkAlgorithmOutput *conn)
vtkHierarchicalGraphView::GetGraphRepresentation
virtual vtkRenderedGraphRepresentation * GetGraphRepresentation()
vtkHierarchicalGraphView::SetColorGraphEdgesByArray
virtual void SetColorGraphEdgesByArray(bool vis)
vtkHierarchicalGraphView::SetGraphFromInput
vtkDataRepresentation * SetGraphFromInput(vtkDataObject *input)
vtkHierarchicalGraphView::SetBundlingStrength
virtual void SetBundlingStrength(double strength)
vtkHierarchicalGraphView::GetGraphEdgeLabelArrayName
virtual const char * GetGraphEdgeLabelArrayName()
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkHierarchicalGraphView
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display....
Definition: vtkHierarchicalGraphView.h:55
vtkHierarchicalGraphView::GetBundlingStrength
virtual double GetBundlingStrength()
vtkHierarchicalGraphView::SetGraphVisibility
virtual void SetGraphVisibility(bool b)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkHierarchicalGraphView::SetGraphEdgeColorArrayName
virtual void SetGraphEdgeColorArrayName(const char *name)
vtkHierarchicalGraphView::vtkHierarchicalGraphView
vtkHierarchicalGraphView()
vtkgl::size
GLsizeiptr size
Definition: vtkgl.h:11843