Cloud from CloudPtr

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

Cloud from CloudPtr

cammarasana123
Hello everybody,

I would need to "convert" a :PointCloud<PointXYZ>::Ptr to a
:PointCloud<PointXYZ>

I am able only to do the opposite, with:
myCloud(&myPtrCloud)

I need this because I've access only to cloud Ptr, but the function
pcl::toPCLPointCloud2
gets as argument a PointCloud.

Could anyone help me on this?

thanks
Simone





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

Re: Cloud from CloudPtr

Wyllich
Hello,

Have you tried after initializations :

myCloud = *myPtrCloud


William



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

Re: Cloud from CloudPtr

cammarasana123
Yes, it works perfectly...it was easy

thanks



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