movement_primitives.visualization.plot_pointcloud#
- movement_primitives.visualization.plot_pointcloud(fig, pcl_points, color, uniform_down_sample=1)#
Plot point cloud.
- Parameters:
- figpytransform3d.visualizer.Figure
Figure.
- pcl_pointsarray-like, shape (n_points, 3)
Points of the point cloud.
- colorarray-like, shape (3,)
Color as RGB values between 0 and 1.
- uniform_down_sampleint, optional (default: 1)
Apply downsampling with this factor.
- Returns:
- pclopen3d.geometry.PointCloud
Point cloud.