vtkGraphReader Class Reference

#include <vtkGraphReader.h>

Inheritance diagram for vtkGraphReader:

Inheritance graph
[legend]
Collaboration diagram for vtkGraphReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

read vtkGraph data file

vtkGraphReader is a source object that reads ASCII or binary vtkGraph data files in vtk format. (see text for format details). The output of this reader is a single vtkGraph data object. The superclass of this class, vtkDataReader, provides many methods for controlling the reading of the data file, see vtkDataReader for more information.

Warning:
Binary files written on one system may not be readable on other systems.
See also:
vtkGraph vtkDataReader vtkGraphWriter

Definition at line 37 of file vtkGraphReader.h.


Public Types

typedef vtkDataReader Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkGraphGetOutput ()
vtkGraphGetOutput (int idx)
void SetOutput (vtkGraph *output)

Static Public Member Functions

static vtkGraphReaderNew ()
static int IsTypeOf (const char *type)
static vtkGraphReaderSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGraphReader ()
 ~vtkGraphReader ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ReadGraphDirectedness (bool &directed)
virtual int FillOutputPortInformation (int, vtkInformation *)

Member Typedef Documentation

Reimplemented from vtkDataReader.

Definition at line 41 of file vtkGraphReader.h.


Constructor & Destructor Documentation

vtkGraphReader::vtkGraphReader (  )  [protected]

vtkGraphReader::~vtkGraphReader (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkDataReader.

virtual const char* vtkGraphReader::GetClassName (  )  [virtual]

Reimplemented from vtkDataReader.

static int vtkGraphReader::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 vtkDataReader.

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

static vtkGraphReader* vtkGraphReader::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkDataReader.

void vtkGraphReader::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 vtkDataReader.

vtkGraph* vtkGraphReader::GetOutput (  ) 

Get the output of this reader.

vtkGraph* vtkGraphReader::GetOutput ( int  idx  ) 

Get the output of this reader.

void vtkGraphReader::SetOutput ( vtkGraph output  ) 

Get the output of this reader.

virtual int vtkGraphReader::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataReader.

virtual int vtkGraphReader::ProcessRequest ( vtkInformation request,
vtkInformationVector **  inInfo,
vtkInformationVector outInfo 
) [protected, virtual]

Upstream/Downstream requests form the generalized interface through which executives invoke a algorithm's functionality. Upstream requests correspond to information flow from the algorithm's outputs to its inputs. Downstream requests correspond to information flow from the algorithm's inputs to its outputs. A downstream request is defined by the contents of the request information object. The input to the request is stored in the input information vector passed to ProcessRequest. The results of an downstream request are stored in the output information vector passed to ProcessRequest. An upstream request is defined by the contents of the request information object. The input to the request is stored in the output information vector passed to ProcessRequest. The results of an upstream request are stored in the input information vector passed to ProcessRequest. It returns the boolean status of the pipeline (false means failure).

Reimplemented from vtkDataReader.

virtual int vtkGraphReader::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataReader.

virtual int vtkGraphReader::RequestDataObject ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

virtual int vtkGraphReader::ReadGraphDirectedness ( bool &  directed  )  [protected, virtual]

virtual int vtkGraphReader::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.


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

Generated on Wed Aug 24 11:38:55 2011 for VTK by  doxygen 1.5.6