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

read vtkGraph data file More...

#include <vtkGraphReader.h>

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

List of all members.

Public Types

typedef vtkDataReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGraphReaderNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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 *)

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 38 of file vtkGraphReader.h.


Member Typedef Documentation

Reimplemented from vtkDataReader.

Definition at line 42 of file vtkGraphReader.h.


Constructor & Destructor Documentation


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.

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.

Reimplemented from vtkDataReader.

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

Reimplemented from vtkDataReader.

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.

Get the output of this reader.

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.

Reimplemented from vtkDataReader.

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: