create a label from a position

Feel free to ask any question here
Post Reply
fblue
Posts: 37
Joined: Thu Oct 25, 2018 9:00 am

create a label from a position

Post by fblue »

Hello,

Can I create a cc2DLabel which associates a point which doesn't exist in a point cloud?

The method addPoint() in cc2DLabel needs the index of a point in the point cloud to give a label to this point. But if in a known position(x,y,z) where the cloud has no point, can I still create a label? Or I have to create at first a point with this position and add it to the point cloud?

Thanks
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: create a label from a position

Post by daniel »

Nope. It can only point to an existing point (and it automatically adaptas to this points position, in case the cloud is transformed, etc.).
Daniel, CloudCompare admin
Post Reply