VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkXGMLReader Class Reference

Reads XGML graph files. This reader is developed for a simple graph file format based loosely on the "GML" notation. This implementation is based heavily on the vtkTulipReader class that forms part of the Titan toolkit. More...

#include <vtkXGMLReader.h>

Inheritance diagram for vtkXGMLReader:
Inheritance graph
[legend]
Collaboration diagram for vtkXGMLReader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkUndirectedGraphAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXGMLReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual char * GetFileName ()
virtual void SetFileName (const char *)

Static Public Member Functions

static vtkXGMLReaderNew ()
static int IsTypeOf (const char *type)
static vtkXGMLReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXGMLReader ()
 ~vtkXGMLReader ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Detailed Description

Reads XGML graph files. This reader is developed for a simple graph file format based loosely on the "GML" notation. This implementation is based heavily on the vtkTulipReader class that forms part of the Titan toolkit.

Thanks:
Thanks to David Duke from the University of Leeds for providing this implementation.
Examples:
vtkXGMLReader (Examples)
Tests:
vtkXGMLReader (Tests)

Definition at line 45 of file vtkXGMLReader.h.


Member Typedef Documentation

Reimplemented from vtkUndirectedGraphAlgorithm.

Definition at line 49 of file vtkXGMLReader.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkXGMLReader* vtkXGMLReader::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkUndirectedGraphAlgorithm.

static int vtkXGMLReader::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkUndirectedGraphAlgorithm.

virtual int vtkXGMLReader::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkUndirectedGraphAlgorithm.

Reimplemented from vtkUndirectedGraphAlgorithm.

virtual vtkObjectBase* vtkXGMLReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkUndirectedGraphAlgorithm.

Reimplemented from vtkUndirectedGraphAlgorithm.

void vtkXGMLReader::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* vtkXGMLReader::GetFileName ( ) [virtual]

The XGML file name.

virtual void vtkXGMLReader::SetFileName ( const char *  ) [virtual]

The XGML file name.

virtual int vtkXGMLReader::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.


The documentation for this class was generated from the following file: