def displayJSur(**kwargs): """ TODO: azad mar. 04 févr. 2020 14:11:04 CET display the pointclouds in open3d """ p = kwargs["position"] t = kwargs["texture"] pcd = o3d.geometry.PointCloud() pcd.points = o3d.utility.Vector3dVector(p) pcd.colors = o3d.utility.Vector3dVector(t) visualizer = o3d.JVisualizer() visualizer.add_geometry(pcd) visualizer.show() return None
def displayJSur(**kwargs): """ Displays the pcd/mesh inside the Jupyter Notebook param position: The (N,3) matrix param texture: The (N,3) matrix """ p = kwargs["position"] t = kwargs["texture"] pcd = o3d.geometry.PointCloud() pcd.points = o3d.utility.Vector3dVector(p) pcd.colors = o3d.utility.Vector3dVector(t) visualizer = o3d.JVisualizer() visualizer.add_geometry(pcd) visualizer.show() return None
def jupyter_visualization(pcd): visualizer = o3d.JVisualizer() visualizer.add_geometry(pcd) visualizer.show()
def __visualizeJupyter(self, pcd): visualizer = o3d.JVisualizer() visualizer.add_geometry(pcd) visualizer.show()