pyvista.BaseReader#

class BaseReader(filename)[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.

Parameters
filenamestr

Path of the file to read.

Methods

BaseReader.hide_progress()

Hide the progress bar.

BaseReader.read()

Read data in file.

BaseReader.show_progress([msg])

Show a progress bar.

Attributes

BaseReader.reader

Return the vtk Reader object.