56#ifndef vtkDIMACSGraphReader_h
57#define vtkDIMACSGraphReader_h
60#include "vtkIOInfovisModule.h"
83 vtkGetStringMacro(VertexAttributeArrayName);
84 vtkSetStringMacro(VertexAttributeArrayName);
91 vtkGetStringMacro(EdgeAttributeArrayName);
92 vtkSetStringMacro(EdgeAttributeArrayName);
119 char* VertexAttributeArrayName;
120 char* EdgeAttributeArrayName;
reads vtkGraph data from a DIMACS formatted file
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkDIMACSGraphReader() override
vtkSetFilePathMacro(FileName)
The DIMACS file name.
int buildGenericGraph(vtkGraph *output, vtkStdString &defaultVertexAttrArrayName, vtkStdString &defaultEdgeAttrArrayName)
int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Creates directed or undirected output based on Directed flag.
vtkGetFilePathMacro(FileName)
The DIMACS file name.
int buildColoringGraph(vtkGraph *output)
static vtkDIMACSGraphReader * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int buildMaxflowGraph(vtkGraph *output)
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
a simple class to control print indentation
Wrapper around std::string to keep symbols short.