itkwasm_mesh_io.byu_read_mesh¶

Module Contents¶

Functions¶

byu_read_mesh

Read a mesh file format and convert it to the itk-wasm file format

API¶

itkwasm_mesh_io.byu_read_mesh.byu_read_mesh(serialized_mesh: os.PathLike, information_only: bool = False) Tuple[Any, 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 image metadata – do not read pixel data.

Returns:

Whether the input could be read. If false, the output mesh is not valid.

Return type:

Any

Returns:

Output mesh

Return type:

Mesh