VTK
|
read vtkGraph data file More...
#include <vtkGraphReader.h>
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.
Definition at line 38 of file vtkGraphReader.h.
Reimplemented from vtkDataReader.
Definition at line 42 of file vtkGraphReader.h.
vtkGraphReader::vtkGraphReader | ( | ) | [protected] |
vtkGraphReader::~vtkGraphReader | ( | ) | [protected] |
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.
static vtkGraphReader* vtkGraphReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataReader.
virtual vtkObjectBase* vtkGraphReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataReader.
vtkGraphReader* vtkGraphReader::NewInstance | ( | ) | const |
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.
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.