itkwasm_mesh_io.wasm_ztd_read_mesh_async¶

Module Contents¶

Functions¶

wasm_ztd_read_mesh_async

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

API¶

async itkwasm_mesh_io.wasm_ztd_read_mesh_async.wasm_ztd_read_mesh_async(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