62#ifndef vtkDIMACSGraphReader_h
63#define vtkDIMACSGraphReader_h
65#include "vtkIOInfovisModule.h"
83 vtkSetStringMacro(FileName);
91 vtkSetStringMacro(VertexAttributeArrayName);
99 vtkSetStringMacro(EdgeAttributeArrayName);
132 char * VertexAttributeArrayName;
133 char * EdgeAttributeArrayName;
reads vtkGraph data from a DIMACS formatted file
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Creates directed or undirected output based on Directed flag.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int buildGenericGraph(vtkGraph *output, vtkStdString &defaultVertexAttrArrayName, vtkStdString &defaultEdgeAttrArrayName)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int buildColoringGraph(vtkGraph *output)
static vtkDIMACSGraphReader * New()
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.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.