itkwasm_mesh_io.off_write_point_set¶

Module Contents¶

Functions¶

off_write_point_set

Write an ITK-Wasm file format converted to a point set file format

API¶

itkwasm_mesh_io.off_write_point_set.off_write_point_set(point_set: itkwasm.PointSet, serialized_point_set: str, information_only: bool = False, use_compression: bool = False, binary_file_type: bool = False) Tuple[Any]¶

Write an ITK-Wasm file format converted to a point set file format

Parameters:
  • point_set (PointSet) – Input point set

  • serialized_point_set (str) – Output point set

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

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

  • binary_file_type (bool) – Use a binary file type in the written file, if supported

Returns:

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

Return type:

Any