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