Visualization

open3d.visualization
class open3d.visualization.MeshColorOption
Color = MeshColorOption.Color
Default = MeshColorOption.Default
Normal = MeshColorOption.Normal
XCoordinate = MeshColorOption.XCoordinate
YCoordinate = MeshColorOption.YCoordinate
ZCoordinate = MeshColorOption.ZCoordinate
class open3d.visualization.MeshShadeOption
Color = MeshShadeOption.Color
Default = MeshShadeOption.Default
class open3d.visualization.PointColorOption
Color = PointColorOption.Color
Default = PointColorOption.Default
Normal = PointColorOption.Normal
XCoordinate = PointColorOption.XCoordinate
YCoordinate = PointColorOption.YCoordinate
ZCoordinate = PointColorOption.ZCoordinate
class open3d.visualization.RenderOption
background_color
light_on
line_width
load_from_json(self: open3d.visualization.RenderOption, filename: str) → None

Function to load RenderOption from a JSON file

mesh_color_option
mesh_shade_option
mesh_show_back_face
point_color_option
point_show_normal
point_size
save_to_json(self: open3d.visualization.RenderOption, filename: str) → None

Function to save RenderOption to a JSON file

show_coordinate_frame
class open3d.visualization.SelectionPolygonVolume
axis_max
axis_min
bounding_polygon
crop_point_cloud(self: open3d.visualization.SelectionPolygonVolume, input: open3d.geometry.PointCloud) → open3d.geometry.PointCloud
crop_triangle_mesh(self: open3d.visualization.SelectionPolygonVolume, input: open3d.geometry.TriangleMesh) → open3d.geometry.TriangleMesh
orthogonal_axis
class open3d.visualization.ViewControl
change_field_of_view(self: open3d.visualization.ViewControl, step: float=0.45) → None

Function to change field of view

convert_from_pinhole_camera_parameters(self: open3d.visualization.ViewControl, parameter: open3d.camera.PinholeCameraParameters) → bool
convert_to_pinhole_camera_parameters(self: open3d.visualization.ViewControl) → open3d.camera.PinholeCameraParameters

Function to convert ViewControl to PinholeCameraParameters

get_field_of_view(self: open3d.visualization.ViewControl) → float

Function to get field of view

rotate(self: open3d.visualization.ViewControl, x: float, y: float, xo: float=0.0, yo: float=0.0) → None

Function to process rotation

scale(self: open3d.visualization.ViewControl, scale: float) → None

Function to process scaling

translate(self: open3d.visualization.ViewControl, x: float, y: float, xo: float=0.0, yo: float=0.0) → None

Function to process translation

class open3d.visualization.Visualizer
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

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

class open3d.visualization.VisualizerWithEditing
get_picked_points(self: open3d.visualization.VisualizerWithEditing) → List[int]

Function to get a picked points

class open3d.visualization.VisualizerWithKeyCallback
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

open3d.visualization.draw_geometries(geometry_list: List[open3d.geometry.Geometry], window_name: str='Open3D', width: int=1920, height: int=1080, left: int=50, top: int=50) → None

Function to draw a list of Geometry objects

open3d.visualization.draw_geometries_with_animation_callback(geometry_list: List[open3d.geometry.Geometry], callback_function: 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 objects with a customized animation callback function

open3d.visualization.draw_geometries_with_custom_animation(geometry_list: List[open3d.geometry.Geometry], window_name: str='Open3D', width: int=1920, height: int=1080, left: int=50, top: int=50, optional_view_trajectory_json_file: str='') → None

Function to draw a list of Geometry objects with a GUI that supports animation

open3d.visualization.draw_geometries_with_editing(geometry_list: List[open3d.geometry.Geometry], window_name: str='Open3D', width: int=1920, height: int=1080, left: int=50, top: int=50) → None

Function to draw a list of Geometry providing user interaction

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 objects with a customized key-callback mapping

open3d.visualization.read_selection_polygon_volume(filename: str) → open3d.visualization.SelectionPolygonVolume

Function to read SelectionPolygonVolume from file