open3d.visualization.draw_geometries_with_key_callbacks#

open3d.visualization.draw_geometries_with_key_callbacks(geometry_list: list[open3d.geometry.Geometry], key_to_callback: dict[int, Callable[[open3d.visualization.Visualizer], bool]], window_name: str = 'Open3D', width: int = 1920, height: int = 1080, left: int = 50, top: int = 50) None#

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

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

  • key_to_callback (dict[int, 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 (int, optional, default=1920) – The width of the visualization window.

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

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

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

Returns:

None