it is not an array but a struct.
This is my error and i have no idea why i cant use it this way.
The struct is defined in RangeImageBorderExtractor as public how u can see in my first post
error: invalid use of ‘struct pcl::RangeImageBorderExtractor::LocalSurface’
pcl::RangeImageBorderExtractor border_extractor(&range_image);
pcl::RangeImageBorderExtractor::LocalSurface** ls = border_extractor.getSurfaceStructure();
ROS_INFO_STREAM("TEST" << (*ls)->normal);
the problem is i dont get the normal vector
line 3 produce this failure
undefined reference to `pcl::RangeImageBorderExtractor::~RangeImageBorderExtractor()'
i dont now what to do...
It is possible that the struct could be an array ? I think the function safe for every point one normal so it must be an array.
How i get with an array the normal vector?
My idea was (*ls)->normal[0] for x coordinate
but same failure...
thanks for help
and do you know a good tutorial for this problem ?