31#ifndef vtkGraphReader_h
32#define vtkGraphReader_h
35#include "vtkIOLegacyModule.h"
general representation of visualization data
helper superclass for objects that read vtk data files
~vtkGraphReader() override
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkGraph * GetOutput()
Get the output of this reader.
vtkDataObject * CreateOutput(vtkDataObject *currentOutput) override
This can be overridden by a subclass to create an output that is determined by the file being read.
vtkGraph * GetOutput(int idx)
Get the output of this reader.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int ReadGraphType(const char *fname, GraphType &type)
int ReadMeshSimple(VTK_FILEPATH const std::string &fname, vtkDataObject *output) override
Actual reading happens here.
static vtkGraphReader * New()
Base class for graph data types.
a simple class to control print indentation