PointCloud.disp#
- PointCloud.disp(block: bool = False, file: str | None = None, title: str = 'Point Cloud', notebook: bool = False, **kwargs: Any) None[source][source]#
Display point cloud using Open3D
- Parameters:
block (bool, optional) – block until window dismissed, defaults to False
title (str, optional) – window title, defaults to “Point Cloud”
file (str, optional) – save display as an image, defaults to None
notebook (bool, optional) – draw in the output of the notebook cell, rather than in an Open3D window, defaults to False
front (array_like(3)) – set front vector
lookat (array_like(3)) – set lookat vector
up (array_like(3)) – set up vector
zoom (float) – set zoom value
- Raises:
ValueError –
fileis given withnotebook=TrueImportError –
notebook=Trueand Plotly is not installedTypeError –
notebook=Trueand an option that Plotly cannot draw
Various viewing options are passed to the Open3D
open3d.visualization.ViewControl.Typing “h” in the display window will print help information to the console.
With
notebook=Truethe point cloud is drawn in the output of the notebook cell, as a Plotly figure that can be rotated and zoomed. This needs Plotly, which is not installed with the Toolbox:pip install plotly.blockandfiledo not apply. The view options above are passed on, along with any other option thatopen3d.visualization.draw_plotlyaccepts, such aswidth,heightandpoint_sample_factor(the fraction of the points drawn, 0 to 1, which keeps a large cloud responsive). The three axes have the same scale, so shapes have their true proportions, as in the Open3D window. An option of the Open3D window that Plotly cannot draw raisesTypeError, which names it and lists the options that are accepted.Changed in version 2.5.0: Added the
notebookoption.See also