74 #ifndef __vtkTableToGraph_h
75 #define __vtkTableToGraph_h
77 #include "vtkInfovisCoreModule.h"
78 #include "vtkGraphAlgorithm.h"
81 class vtkMutableDirectedGraph;
90 void PrintSelf(ostream& os, vtkIndent indent);
94 void AddLinkVertex(
const char* column,
const char* domain = 0,
int hidden = 0);
97 void ClearLinkVertices();
101 void AddLinkEdge(
const char* column1,
const char* column2);
104 void ClearLinkEdges();
108 vtkGetObjectMacro(LinkGraph, vtkMutableDirectedGraph);
109 void SetLinkGraph(vtkMutableDirectedGraph* g);
114 void LinkColumnPath(vtkStringArray* column, vtkStringArray* domain = 0, vtkBitArray* hidden = 0);
118 vtkSetMacro(Directed,
bool);
119 vtkGetMacro(Directed,
bool);
120 vtkBooleanMacro(Directed,
bool);
124 virtual unsigned long GetMTime();
130 void SetVertexTableConnection(vtkAlgorithmOutput* in);
137 int ValidateLinkGraph();
139 virtual int FillInputPortInformation(
int port, vtkInformation* info);
141 virtual int RequestData(
143 vtkInformationVector**,
144 vtkInformationVector*);
146 virtual int RequestDataObject(
148 vtkInformationVector**,
149 vtkInformationVector*);
convert a vtkTable into a vtkGraph
vtkStringArray * VertexTableDomains
vtkMutableDirectedGraph * LinkGraph