#include <vtkUnstructuredGridReader.h>
vtkUnstructuredGridReader is a source object that reads ASCII or binary unstructured grid data files in vtk format. (see text for format details). The output of this reader is a single vtkUnstructuredGrid 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 vtkUnstructuredGridReader.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) |
vtkUnstructuredGrid * | GetOutput () |
vtkUnstructuredGrid * | GetOutput (int idx) |
void | SetOutput (vtkUnstructuredGrid *output) |
Static Public Member Functions | |
static vtkUnstructuredGridReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkUnstructuredGridReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkUnstructuredGridReader () | |
~vtkUnstructuredGridReader () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | FillOutputPortInformation (int, vtkInformation *) |
vtkUnstructuredGridReader::vtkUnstructuredGridReader | ( | ) | [protected] |
vtkUnstructuredGridReader::~vtkUnstructuredGridReader | ( | ) | [protected] |
static vtkUnstructuredGridReader* vtkUnstructuredGridReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataReader.
virtual const char* vtkUnstructuredGridReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataReader.
static int vtkUnstructuredGridReader::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 vtkUnstructuredGridReader::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 vtkUnstructuredGridReader* vtkUnstructuredGridReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataReader.
void vtkUnstructuredGridReader::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.
vtkUnstructuredGrid* vtkUnstructuredGridReader::GetOutput | ( | ) |
Get the output of this reader.
vtkUnstructuredGrid* vtkUnstructuredGridReader::GetOutput | ( | int | idx | ) |
Get the output of this reader.
void vtkUnstructuredGridReader::SetOutput | ( | vtkUnstructuredGrid * | output | ) |
Get the output of this reader.
virtual int vtkUnstructuredGridReader::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkDataReader.
virtual int vtkUnstructuredGridReader::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkDataReader.
virtual int vtkUnstructuredGridReader::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.