FreeMat

- Main Page
- Related Pages

vtkXMLRectilinearGridReader

Section: Visualization Toolkit IO Classes

# Usage

vtkXMLRectilinearGridReader reads the VTK XML RectilinearGrid file format. One rectilinear grid file can be read to produce one output. Streaming is supported. The standard extension for this reader's file format is "vtr". This reader is also used to read a single piece of the parallel file format.

To create an instance of class vtkXMLRectilinearGridReader, simply invoke its constructor as follows

      obj = vtkXMLRectilinearGridReader

# Methods

The class vtkXMLRectilinearGridReader has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, `obj` is an instance of the vtkXMLRectilinearGridReader class.

- `string = obj.GetClassName ()`
- `int = obj.IsA (string name)`
- `vtkXMLRectilinearGridReader = obj.NewInstance ()`
- `vtkXMLRectilinearGridReader = obj.SafeDownCast (vtkObject o)`
- `vtkRectilinearGrid = obj.GetOutput ()` - Get the reader's output.
- `vtkRectilinearGrid = obj.GetOutput (int idx)` - Get the reader's output.