BaseWriter

BaseWriter#

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

The base writer class.

The base functionality includes writing data to a file, and allowing access to the underlying vtk writer.

Parameters:
pathstr, Path

Path of the file to write to.

data_objectDataObject

Data object to write.

Methods#

BaseWriter.write()

Write data to path.

Attributes#

BaseWriter.data_object

Get or set the dataset to write.

BaseWriter.path

Return or set the filename or directory of the writer.

BaseWriter.writer

Return the vtk writer object.