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
Inheritance#
Inherited members are documented on _FileIOBase.
See them all under Inherited Attributes.
Attributes#
Return or set the filename or directory of the reader. |
|
Return the vtk Reader object. |
Inherited Attributes#
Return mapping from regex pattern matching associated with this class. |
|
Return the file extensions associated with this class. |
Methods#
Hide the progress bar when loading the file. |
|
|
Read data in file. |
|
Show a progress bar when loading the file. |