I want to develop a 3d point cloud labeling tool, but I have no idea

I got an idea, you can get some of the point’s position around the mouse by GPU selection,and then create a plane as the same height as the point did for interaction cause I saw the example u are showing the point’s color is height related.