open3d.visualization.rendering.Open3DScene

class open3d.visualization.rendering.Open3DScene

High-level scene for rending

__init__(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: open3d.cpu.pybind.visualization.rendering.Renderer) → None
add_geometry(*args, **kwargs)

Overloaded function.

  1. add_geometry(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, name: str, geometry: open3d.cpu.pybind.geometry.Geometry3D, material: open3d.cpu.pybind.visualization.rendering.Material, add_downsampled_copy_for_fast_rendering: bool = True) -> None

  2. add_geometry(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, name: str, geometry: open3d.cpu.pybind.t.geometry.PointCloud, material: open3d.cpu.pybind.visualization.rendering.Material, add_downsampled_copy_for_fast_rendering: bool = True) -> None

clear_geometry(self: open3d.cpu.pybind.visualization.rendering.Open3DScene) → None
remove_geometry(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: str) → None

Removes the geometry with the given name

set_background_color(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: numpy.ndarray[float32[4, 1]]) → None

Sets the background color of the scene, [r, g, b, a].

set_view_size(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: int, arg1: int) → None

Sets the view size. This should not be used except for rendering to an image

show_axes(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: bool) → None

Toggles display of xyz axes

show_geometry(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: str, arg1: bool) → None

Shows or hides the geometry with the given name

show_skybox(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: bool) → None

Toggles display of the skybox

update_material(self: open3d.cpu.pybind.visualization.rendering.Open3DScene, arg0: open3d.cpu.pybind.visualization.rendering.Material) → None

Applies the passed material to all the geometries

property bounding_box

The bounding box of all the items in the scene, visible and invisible

property camera

The camera object

property downsample_threshold

Minimum number of points before downsampled point clouds are created and used when rendering speed is important

property scene

The low-level rendering scene object