Adding a new Point Type to PCL

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

Adding a new Point Type to PCL

Wyllich
Hello everyone,


As a new user of PCL, I'm currently working with .PLY files where vertices contain 5 properties : X, Y, Z, label and class.
I tried to add a new Point Type to what exists (I called it PointXYZLC) and already modified the following files :
i) point_types.h
ii) point_types.cpp

My ultimate goal is to be able to read the data contained in my .ply files thanks to the newly created Point Type cloud, process the points and create a .ply file output.

Which other files should I look into? (ply_parser.cpp?  ply_io.cpp? io.cpp?).

Thank you very much in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new Point Type to PCL

Wyllich
As an update,

I tried to recompile PCL succeding my modifications and I obtained the following error messages :

i) invalid use of incomple type 'struct pcl::PontXYZLC'

How can I solve that problem? What should I add?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new Point Type to PCL

noname
the message usually means that a data type has been declared but not
defined at the corresponding position.
have you included the header containing its full definition?
seems more like a general programming/c++ question than pcl (just so you
might know there might come more profound help from other places).

kind regards

On 20.07.2017 14:51, Wyllich wrote:

> As an update,
>
> I tried to recompile PCL succeding my modifications and I obtained the
> following error messages :
>
> i) invalid use of incomple type 'struct pcl::PontXYZLC'
>
> How can I solve that problem? What should I add?
>
> Thanks.
>
>
>
> --
> View this message in context: http://www.pcl-users.org/Adding-a-new-Point-Type-to-PCL-tp4044795p4044828.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

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