itkwasm_mesh_io.write_mesh¶

Module Contents¶

Functions¶

write_mesh

Write an itk-wasm file format converted to an mesh file format

meshwrite

API¶

itkwasm_mesh_io.write_mesh.write_mesh(mesh: itkwasm.Mesh, serialized_mesh: str, information_only: bool = False, use_compression: bool = False) None¶

Write an itk-wasm file format converted to an mesh file format

Parameters:
  • mesh (Mesh) – Input mesh

  • serialized_mesh (str) – Output mesh serialized in the file format.

  • information_only (bool) – Only write mesh metadata – do not write pixel data.

  • use_compression (bool) – Use compression in the written file

itkwasm_mesh_io.write_mesh.meshwrite(mesh: itkwasm.Mesh, serialized_mesh: os.PathLike, information_only: bool = False, use_compression: bool = False) None¶