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

class to read any type of vtk data object More...

#include <vtkGenericDataObjectReader.h>

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

List of all members.

Public Types

typedef vtkDataReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGenericDataObjectReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int ReadOutputType ()
vtkDataObjectGetOutput ()
vtkDataObjectGetOutput (int idx)
vtkGraphGetGraphOutput ()
vtkPolyDataGetPolyDataOutput ()
vtkRectilinearGridGetRectilinearGridOutput ()
vtkStructuredGridGetStructuredGridOutput ()
vtkStructuredPointsGetStructuredPointsOutput ()
vtkTableGetTableOutput ()
vtkTreeGetTreeOutput ()
vtkUnstructuredGridGetUnstructuredGridOutput ()

Static Public Member Functions

static vtkGenericDataObjectReaderNew ()
static int IsTypeOf (const char *type)
static vtkGenericDataObjectReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillOutputPortInformation (int, vtkInformation *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 vtkGenericDataObjectReader ()
 ~vtkGenericDataObjectReader ()

Detailed Description

class to read any type of vtk data object

vtkGenericDataObjectReader is a class that provides instance variables and methods to read any type of data object in Visualization Toolkit (vtk) format. The output type of this class will vary depending upon the type of data file. Convenience methods are provided to return the data as a particular type. (See text for format description details). 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:
vtkDataReader vtkGraphReader vtkPolyDataReader vtkRectilinearGridReader vtkStructuredPointsReader vtkStructuredGridReader vtkTableReader vtkTreeReader vtkUnstructuredGridReader
Tests:
vtkGenericDataObjectReader (Tests)

Definition at line 53 of file vtkGenericDataObjectReader.h.


Member Typedef Documentation

Reimplemented from vtkDataReader.

Definition at line 57 of file vtkGenericDataObjectReader.h.


Constructor & Destructor Documentation

See vtkAlgorithm for information.

See vtkAlgorithm for information.


Member Function Documentation

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

Reimplemented from vtkDataReader.

static int vtkGenericDataObjectReader::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 vtkGenericDataObjectReader::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* vtkGenericDataObjectReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataReader.

Reimplemented from vtkDataReader.

void vtkGenericDataObjectReader::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 filter

Get the output of this filter

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

Get the output as various concrete types. This method is typically used when you know exactly what type of data is being read. Otherwise, use the general GetOutput() method. If the wrong type is used NULL is returned. (You must also set the filename of the object prior to getting the output.)

This method can be used to find out the type of output expected without needing to read the whole file.

See vtkAlgorithm for information.

Reimplemented from vtkDataReader.

Reimplemented from vtkDataReader.

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

Reimplemented from vtkDataReader.


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