XMLPartitionedDataSetReader#

class XMLPartitionedDataSetReader(*args, **kwargs)[source]#

XML PartitionedDataSet Reader for reading .vtpd files.

Wraps vtkXMLPartitionedDataSetReader.

Examples#

Download Python source code | Download Jupyter notebook

>>> import pyvista as pv
>>> partitions = pv.PartitionedDataSet(
...     [
...         pv.Wavelet(extent=(0, 10, 0, 10, 0, 5)),
...         pv.Wavelet(extent=(0, 10, 0, 10, 5, 10)),
...     ]
... )
>>> partitions.save('my_partitions.vtpd')
>>> _ = pv.read('my_partitions.vtpd')

Inheritance#

Inherited members are documented on BaseReader, _FileIOBase.

See them all under Inherited Attributes and Inherited Methods.

Inherited Attributes#

_FileIOBase.extension_patterns

Return mapping from regex pattern matching associated with this class.

_FileIOBase.extensions

Return the file extensions associated with this class.

BaseReader.path

Return or set the filename or directory of the reader.

BaseReader.reader

Return the vtk Reader object.

Inherited Methods#

BaseReader.hide_progress

Hide the progress bar when loading the file.

BaseReader.read

Read data in file.

BaseReader.show_progress

Show a progress bar when loading the file.