1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Usage
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.
To create an instance of class vtkStructuredGridReader,
simply invoke its constructor as follows
obj = vtkStructuredGridReader
Methods
The class vtkStructuredGridReader 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 vtkStructuredGridReader class.
* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkStructuredGridReader = obj.NewInstance ()
* vtkStructuredGridReader = obj.SafeDownCast (vtkObject o)
* vtkStructuredGrid = obj.GetOutput () - Get the output of
this reader.
* vtkStructuredGrid = obj.GetOutput (int idx) - Get the
output of this reader.
* obj.SetOutput (vtkStructuredGrid output) - Get the output
of this reader.
* int = obj.ReadMetaData (vtkInformation outInfo) - Read the
meta information from the file. This needs to be public to
it can be accessed by vtkDataSetReader.
* FreeMat_Documentation
* Visualization_Toolkit_IO_Classes
* Generated on Thu Jul 25 2013 17:18:34 for FreeMat by
doxygen_ 1.8.1.1
|