open3d.visualization.draw_geometries_with_key_callbacks#

open3d.visualization.draw_geometries_with_key_callbacks(geometry_list: collections.abc.Sequence[open3d.geometry.Geometry], key_to_callback: collections.abc.Mapping[SupportsInt, collections.abc.Callable[[open3d.visualization.Visualizer], bool]], window_name: str = 'Open3D', width: SupportsInt = 1920, height: SupportsInt = 1080, left: SupportsInt = 50, top: SupportsInt = 50) None#

Function to draw a list of geometry::Geometry objects with a customized key-callback mapping

Parameters:
  • geometry_list (collections.abc.Sequence[open3d.geometry.Geometry]) – List of geometries to be visualized.

  • key_to_callback (collections.abc.Mapping[SupportsInt, collections.abc.Callable[[open3d.visualization.Visualizer], bool]]) – Map of key to call back functions.

  • window_name (str, optional, default='Open3D') – The displayed title of the visualization window.

  • width (SupportsInt, optional, default=1920) – The width of the visualization window.

  • height (SupportsInt, optional, default=1080) – The height of the visualization window.

  • left (SupportsInt, optional, default=50) – The left margin of the visualization window.

  • top (SupportsInt, optional, default=50) – The top margin of the visualization window.

Returns:

None