pcl::visualization::CloudViewer update

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

pcl::visualization::CloudViewer update


Regarding my previous post, I now use pcl::visualization::CloudViewer to
continuously show a point cloud and at the same time interact with it on the
viewing window (zoom in/out, rotate, etc.). so I am initiating a viewer as:

/pcl::visualization::CloudViewer v("Cloud Viewer");/

and then I am adding a point cloud with:


Also, before I visualize any clouds I re-orient my camera as follows:


void cameraPose (pcl::visualization::PCLVisualizer& viewer)

        viewer.setCameraPosition(-19.0978, 0, 5251.24,0,1,0);
        viewer.setBackgroundColor (0, 0, 0);


Everything seams to be working fine, except the fact that in order to
actually visualize the cloud on the viewing window for the first time, I
need to left click the viewing window once!

Does anybody knows why this is happening and how to resolve this?

Thank you in advance.

Sent from: http://www.pcl-users.org/
[hidden email] / http://pointclouds.org