#include <vtkStructuredGridReader.h>
vtkStructuredGridReader is a source object that reads ASCII or binary structured grid data files in vtk format. (see text for format details). The output of this reader is a single vtkStructuredGrid 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 43 of file vtkStructuredGridReader.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) |
virtual int | ReadMetaData (vtkInformation *outInfo) |
vtkStructuredGrid * | GetOutput () |
vtkStructuredGrid * | GetOutput (int idx) |
void | SetOutput (vtkStructuredGrid *output) |
Static Public Member Functions | |
static vtkStructuredGridReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkStructuredGridReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkStructuredGridReader () | |
~vtkStructuredGridReader () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | FillOutputPortInformation (int, vtkInformation *) |
vtkStructuredGridReader::vtkStructuredGridReader | ( | ) | [protected] |
vtkStructuredGridReader::~vtkStructuredGridReader | ( | ) | [protected] |
static vtkStructuredGridReader* vtkStructuredGridReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataReader.
virtual const char* vtkStructuredGridReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataReader.
static int vtkStructuredGridReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataReader.
virtual int vtkStructuredGridReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataReader.
static vtkStructuredGridReader* vtkStructuredGridReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataReader.
void vtkStructuredGridReader::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.
vtkStructuredGrid* vtkStructuredGridReader::GetOutput | ( | ) |
Get the output of this reader.
vtkStructuredGrid* vtkStructuredGridReader::GetOutput | ( | int | idx | ) |
Get the output of this reader.
void vtkStructuredGridReader::SetOutput | ( | vtkStructuredGrid * | output | ) |
Get the output of this reader.
virtual int vtkStructuredGridReader::ReadMetaData | ( | vtkInformation * | outInfo | ) | [virtual] |
Read the meta information from the file. This needs to be public to it can be accessed by vtkDataSetReader.
Reimplemented from vtkDataReader.
virtual int vtkStructuredGridReader::RequestInformation | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Internal function to read in a value. Returns zero if there was an error.
Reimplemented from vtkDataReader.
virtual int vtkStructuredGridReader::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Internal function to read in a value. Returns zero if there was an error.
Reimplemented from vtkDataReader.
virtual int vtkStructuredGridReader::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.