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
vtkXMLPolyDataReader reads the VTK XML PolyData file format.
One polygonal data file can be read to produce one output.
Streaming is supported. The standard extension for this
reader's file format is "vtp". This reader is also used to
read a single piece of the parallel file format.
To create an instance of class vtkXMLPolyDataReader, simply
invoke its constructor as follows
obj = vtkXMLPolyDataReader
Methods
The class vtkXMLPolyDataReader 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 vtkXMLPolyDataReader class.
* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkXMLPolyDataReader = obj.NewInstance ()
* vtkXMLPolyDataReader = obj.SafeDownCast (vtkObject o)
* vtkPolyData = obj.GetOutput () - Get the reader's output.
* vtkPolyData = obj.GetOutput (int idx) - Get the reader's
output.
* vtkIdType = obj.GetNumberOfVerts () - Get the number of
verts/lines/strips/polys in the output.
* vtkIdType = obj.GetNumberOfLines () - Get the number of
verts/lines/strips/polys in the output.
* vtkIdType = obj.GetNumberOfStrips () - Get the number of
verts/lines/strips/polys in the output.
* vtkIdType = obj.GetNumberOfPolys () - Get the number of
verts/lines/strips/polys in the output.
* FreeMat_Documentation
* Visualization_Toolkit_IO_Classes
* Generated on Thu Jul 25 2013 17:18:34 for FreeMat by
doxygen_ 1.8.1.1
|