2

I'm trying to load and display point clouds through a Qt+PCL configuration.

I managed to load and display a smaller point cloud (~60 thousand points), but could't display a larger one (~3 million points). Worrying that it might be a limitation on PCL, I've tried displaying both clouds directly through the PCL Visualizer class, without using Qt, and booth clouds were displayed fine.

I assume it's something to do with QVTKWidget. Is the widget somehow limiting point cloud size? From what I understand, QVTKWidget only displays PCL Visualizer's render window, which makes me suspect it's a limitation on VTK's end. Or can it be something else?

My Qt+PCL configuration is based on

Displaying through PCL Visualizer class based on https://pcl-tutorials.readthedocs.io/en/latest/pcl_visualizer.html#pcl-visualizer.

  • PCL 1.8
  • Qt 5.14.2
MarcosDiaz
  • 21
  • 3
  • 1
    If you're still having this issue, try just displaying a Pointcloud. For some reason colored clouds don't work. – sean ng pack Sep 19 '20 at 16:13
  • 1
    Thank you for the comment Sean. I still have the problem, and I need to display colored point clouds (working on point annotation). What I'm doing is using a separate thread to use PCLVisualizer. – MarcosDiaz Sep 21 '20 at 19:37
  • 1
    Does running PCLVisualizer on a separate work to display colored clouds? – sean ng pack Sep 22 '20 at 03:25
  • 1
    it works perfeclty! only qvtkwidget doesn't work – MarcosDiaz Sep 22 '20 at 23:57
  • Hi @MacrosDiaz, how to make it work? Do you show pcl viewer in a child thread? I'm try to show multiple pcl viewers in child threads, but they are not shown up. I'm not using qvtkwidget. –  Mar 03 '21 at 15:36

0 Answers0