itkwasm_mesh_io.read_mesh_async

Module Contents

Functions

read_mesh_async

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

meshread_async

API

async itkwasm_mesh_io.read_mesh_async.read_mesh_async(serialized_mesh: os.PathLike, information_only: bool = False) itkwasm.Mesh

Read an 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

async itkwasm_mesh_io.read_mesh_async.meshread_async(serialized_mesh: os.PathLike, information_only: bool = False) itkwasm.Mesh