itkwasm_mesh_io.read_mesh¶

Module Contents¶

Functions¶

read_mesh

Read a mesh file format and convert it to the ITK-Wasm file format

meshread

API¶

itkwasm_mesh_io.read_mesh.read_mesh(serialized_mesh: os.PathLike, information_only: bool = False) itkwasm.Mesh¶

Read a mesh file format and convert it to the ITK-Wasm file format

Parameters:
  • serialized_mesh (os.PathLike) – Input mesh serialized in the file format

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

Returns:

Output mesh

Return type:

Mesh

itkwasm_mesh_io.read_mesh.meshread(serialized_mesh: os.PathLike, information_only: bool = False) itkwasm.Mesh¶