I am doing some processing on RGB and Depth data and constructing cloud points that are to be visualized, I currently use PCL Visualizer and it works fine. I want to have the visualizer in a different thread (real time so it will redraw the global cloud point, I tried boost threads but I get a runtime error "VTK bad lookup table"
Anyone knows how to visualize stream of cloud points in a different thread ?
OK, I got it to work now, maybe I did something wrong before, here is how I did it using boost threads and mutex
UPDATE:
According to this page The reason is that adding an empty point cloud to the visualizer causes things to go crazy so I edited the code above