BaseReader#
- class BaseReader(*args, **kwargs)[source]#
The Base Reader class.
The base functionality includes reading data from a file, and allowing access to the underlying vtk reader. See
pyvista.get_reader()for an example using a built-in subclass.Subclasses parameterize
BaseReaderwith the concreteDataObjectsubclass they produce, e.g.XMLPolyDataReaderis declared asclass XMLPolyDataReader(BaseReader[PolyData], ...)soread()returnsPolyDataunder static analysis without each subclass needing its ownreadoverride.- Parameters:
- path
str,Path Path of the file to read.
- path
Methods#
Hide the progress bar when loading the file. |
|
|
Read data in file. |
|
Show a progress bar when loading the file. |
Attributes#
Return or set the filename or directory of the reader. |
|
Return the vtk Reader object. |