open3d.visualization.VisualizerWithKeyCallback

class open3d.visualization.VisualizerWithKeyCallback

Visualizer with custom key callack capabilities.

__init__(self: open3d.visualization.VisualizerWithKeyCallback) → None

Default constructor

add_geometry(self: open3d.visualization.Visualizer, geometry: open3d.geometry.Geometry) → bool

Function to add geometry to the scene and create corresponding shaders

capture_depth_float_buffer(self: open3d.visualization.Visualizer, do_render: bool = False) → open3d.geometry.Image

Function to capture depth in a float buffer

capture_depth_image(self: open3d.visualization.Visualizer, filename: str, do_render: bool = False, depth_scale: float = 1000.0) → None

Function to capture and save a depth image

capture_screen_float_buffer(self: open3d.visualization.Visualizer, do_render: bool = False) → open3d.geometry.Image

Function to capture screen and store RGB in a float buffer

capture_screen_image(self: open3d.visualization.Visualizer, filename: str, do_render: bool = False) → None

Function to capture and save a screen image

close(self: open3d.visualization.Visualizer) → None

Function to notify the window to be closed

create_window(self: open3d.visualization.Visualizer, window_name: str = 'Open3D', width: int = 1920, height: int = 1080, left: int = 50, top: int = 50, visible: bool = True) → bool

Function to create a window and initialize GLFW

destroy_window(self: open3d.visualization.Visualizer) → None

Function to destroy a window

get_render_option(self: open3d.visualization.Visualizer) → open3d.visualization.RenderOption

Function to retrieve the associated RenderOption

get_view_control(self: open3d.visualization.Visualizer) → open3d.visualization.ViewControl

Function to retrieve the associated ViewControl

get_window_name(self: open3d.visualization.Visualizer) → str
poll_events(self: open3d.visualization.Visualizer) → bool

Function to poll events

register_animation_callback(self: open3d.visualization.Visualizer, callback_func: Callable[[open3d.visualization.Visualizer], bool]) → None

Function to register a callback function for animation

register_key_callback(self: open3d.visualization.VisualizerWithKeyCallback, key: int, callback_func: Callable[[open3d.visualization.Visualizer], bool]) → None

Function to register a callback function for a key press event

reset_view_point(self: open3d.visualization.Visualizer, arg0: bool) → None

Function to reset view point

run(self: open3d.visualization.Visualizer) → None

Function to activate the window

update_geometry(self: open3d.visualization.Visualizer) → bool

Function to update geometry

update_renderer(self: open3d.visualization.Visualizer) → None

Function to inform render needed to be updated