#include <vtkTulipReader.h>
vtkTulipReader reads in files in the Tulip format. An example is the following (nodes 0 1 2 3 4 5 6 7 8 9) (edge 0 0 1) (edge 1 1 2) (edge 2 2 3) (edge 3 3 4) (edge 4 4 5) (edge 5 5 6) (edge 6 6 7) (edge 7 7 8) (edge 8 8 9) (edge 9 9 0) (edge 10 0 5) (edge 11 2 7) (edge 12 4 9)
where "nodes" defines all the nodes ids in the graph, and "edge" is a triple of edge id, source vertex id, and target vertex id. The graph is read in as undirected graph. NOTE: This currently only supports reading connectivity information. Display information is discarded.
Definition at line 57 of file vtkTulipReader.h.
Public Types | |
typedef vtkUndirectedGraphAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual char * | GetFileName () |
virtual void | SetFileName (const char *) |
Static Public Member Functions | |
static vtkTulipReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkTulipReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTulipReader () | |
~vtkTulipReader () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkTulipReader::vtkTulipReader | ( | ) | [protected] |
vtkTulipReader::~vtkTulipReader | ( | ) | [protected] |
static vtkTulipReader* vtkTulipReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkUndirectedGraphAlgorithm.
virtual const char* vtkTulipReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkUndirectedGraphAlgorithm.
static int vtkTulipReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkUndirectedGraphAlgorithm.
virtual int vtkTulipReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkUndirectedGraphAlgorithm.
static vtkTulipReader* vtkTulipReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkUndirectedGraphAlgorithm.
void vtkTulipReader::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkUndirectedGraphAlgorithm.
virtual char* vtkTulipReader::GetFileName | ( | ) | [virtual] |
The Chaco file name.
virtual void vtkTulipReader::SetFileName | ( | const char * | ) | [virtual] |
The Chaco file name.
virtual int vtkTulipReader::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkUndirectedGraphAlgorithm.