任意的N*3维度的数据都可以可视化,不局限于点云数据,这里随机生成了一万个三维数据
import numpy as np
from open3d import*
source_data = np.random.rand(10000,3) #10000x3
point_cloud = open3d.geometry.PointCloud()
point_cloud.points = open3d.utility.Vector3dVector(source_data)
open3d.visualization.draw_geometries([point_cloud])