Remove viewports

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

Remove viewports

Laura Masse
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hello everybody,

I'm using a PCLVisualizer to display a cloud points and it works fine. Sometimes I apply a filter to the cloud points and then I create 2 viewports onto the visualizer to display the original and the filtered image, this works also fine. But if I want to display a new cloud points using the whole visualizer  I donĀ“t know how remove the 2 viewports I created.

Anyone can help me ?

Advanced thanks.


Reply | Threaded
Open this post in threaded view
|

Re: Remove viewports

Sameer
This post was updated on .
Hello, i have the same trouble..
did you solve it?



--
Sent from: http://www.pcl-users.org/
_______________________________________________
PCL-users@pointclouds.org / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Remove viewports

Sameer
In reply to this post by Laura Masse
if you take a look at pclVisualizer::CreateViewport function you will see
this:
pcl creates a vtk renderer and then setViewport for this renderer..
you can get renderers collection from pclVisualizer and then you can deal
with the renderer which has the viewport...
it is the only way i have found until now.



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