Save scene state of the pcl::PCLVisualizer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Save scene state of the pcl::PCLVisualizer

Pablo Iñigo Blasco
Hello everybody.

Is it possible saving a scene in pcl::PCLVisualizer in the filesystem? I know that I can save a point cloud via pcl::io but in this case I refer to save the whole scene state, including any kind of helper, model or camera state.

Kind Regards.

--

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Save scene state of the pcl::PCLVisualizer

PG1337
Hi,

not sure what you really want to do. You can make a simple screen shot from the viewer with:

void pcl::visualization::PCLVisualizer::saveScreenshot ( const std::string &   file )
// Save the current rendered image to disk, as a PNG screenshot.

If you want to save a .pcd file instead: What is the problem with the additional scene infos?
Reply | Threaded
Open this post in threaded view
|

Re: Save scene state of the pcl::PCLVisualizer

Pablo Iñigo Blasco-2
Thanks for your reply.
Yes, well, I would like to save helpers, like lines. PCD is not able to store lines.
A screenshot is a possibility, but it is always better have the original 3d data and explore around.
I was thinking more in something like some kind of vtk file format...

On Mon, Mar 13, 2017 at 9:00 AM, PG1337 <[hidden email]> wrote:
Hi,

not sure what you really want to do. You can make a simple screen shot from
the viewer with:

void pcl::visualization::PCLVisualizer::saveScreenshot  (       const std::string
&       file    )
// Save the current rendered image to disk, as a PNG screenshot.

If you want to save a .pcd file instead: What is the problem with the
additional scene infos?



--
View this message in context: http://www.pcl-users.org/Save-scene-state-of-the-pcl-PCLVisualizer-tp4044110p4044120.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users



--
Pablo Iñigo Blasco.

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users