cratepy.ioput.miscoutputfiles.vtkoutput.XMLGenerator¶
- class XMLGenerator(type, version, byte_order, format, precision, header_type)[source]¶
Bases:
object
VTK XML files generation methods.
Write VTK file footer.
- write_open_dataset_elem(self, vtk_file, dataset_parameters)[source]¶
Open (write) VTK dataset element.
- write_open_dataset_piece(self, vtk_file, piece_parameters)[source]¶
Open (write) VTK dataset element piece.
- write_cell_data_array(self, vtk_file, data_list, data_parameters)[source]¶
Write VTK cell data element.
VTK XML file constructor.
- Parameters:
List of Public Methods
Enclose input in literal quotation marks.
Write VTK cell data element.
Close (write) VTK cell data element.
Close (write) VTK dataset element.
Close (write) VTK dataset element piece.
Close (write) VTK point data element.
Write VTK file footer.
Write VTK file header.
Open (write) VTK cell data element.
Open (write) VTK dataset element.
Open (write) VTK dataset element piece.
Open (write) VTK point data element.
Methods
- __init__(type, version, byte_order, format, precision, header_type)[source]¶
VTK XML file constructor.
- write_close_cell_data(vtk_file)[source]¶
Close (write) VTK cell data element.
- Parameters:
vtk_file (file) – VTK file.
- write_close_dataset_elem(vtk_file)[source]¶
Close (write) VTK dataset element.
- Parameters:
vtk_file (file) – VTK file.
- write_close_dataset_piece(vtk_file)[source]¶
Close (write) VTK dataset element piece.
- Parameters:
vtk_file (file) – VTK file.
- write_close_point_data(vtk_file)[source]¶
Close (write) VTK point data element.
- Parameters:
vtk_file (file) – VTK file.
- write_open_cell_data(vtk_file)[source]¶
Open (write) VTK cell data element.
- Parameters:
vtk_file (file) – VTK file.
- write_open_dataset_elem(vtk_file, dataset_parameters)[source]¶
Open (write) VTK dataset element.
- Parameters:
vtk_file (file) – VTK file.
dataset_parameters (dict) – VTK dataset element parameters.