66#ifndef vtkTableToGraph_h
67#define vtkTableToGraph_h
70#include "vtkInfovisCoreModule.h"
88 void AddLinkVertex(
const char* column,
const char* domain =
nullptr,
int hidden = 0);
124 vtkSetMacro(Directed,
bool);
125 vtkGetMacro(Directed,
bool);
126 vtkBooleanMacro(Directed,
bool);
Proxy object to connect input/output ports.
dynamic, self-adjusting array of bits
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
An editable directed graph.
a vtkAbstractArray subclass for strings
convert a vtkTable into a vtkGraph
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void AddLinkVertex(const char *column, const char *domain=nullptr, int hidden=0)
Add a vertex to the link graph.
void SetLinkGraph(vtkMutableDirectedGraph *g)
The graph describing how to link the columns in the table.
void ClearLinkEdges()
Clear the link graph edges.
static vtkTableToGraph * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkTableToGraph() override
void ClearLinkVertices()
Clear the link graph vertices.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkStringArray * VertexTableDomains
void AddLinkEdge(const char *column1, const char *column2)
Add an edge to the link graph.
vtkMutableDirectedGraph * LinkGraph
vtkMTimeType GetMTime() override
Get the current modified time.
int ValidateLinkGraph()
Validate that the link graph is in the appropriate format.
void LinkColumnPath(vtkStringArray *column, vtkStringArray *domain=nullptr, vtkBitArray *hidden=nullptr)
Links the columns in a specific order.
void SetVertexTableConnection(vtkAlgorithmOutput *in)
A convenience method for setting the vertex table input.
A table, which contains similar-typed columns of data.
vtkTypeUInt32 vtkMTimeType