Label with distance (or scalar field)

Feel free to ask any question here
Post Reply
Edg422
Posts: 6
Joined: Sat May 02, 2020 8:08 pm

Label with distance (or scalar field)

Post by Edg422 »

Hello,

Is there a way to put a label with the scalar field value of the selected point showing on it? I want to indicate the calculated distance in a numeric way on certain points.

Thanks
WargodHernandez
Posts: 187
Joined: Tue Mar 05, 2019 3:59 pm

Re: Label with distance (or scalar field)

Post by WargodHernandez »

Yes, use the Point picking tool, it is on the tools menu drop down and the tool bar as a cross hair with a mouse cursor.

Once open it lets you click on a point, it will create a label on whichever point you click and have the scalar field visible at the top of the label along with its X,Y,Z coordinates.
Then press the save current label button on the Point picking tool floating dialog to create the label permanently.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Label with distance (or scalar field)

Post by daniel »

And there's the secret shortcut: hold the SHIFT key and left click on a 3D point to spawn a label directly ;)
Daniel, CloudCompare admin
Edg422
Posts: 6
Joined: Sat May 02, 2020 8:08 pm

Re: Label with distance (or scalar field)

Post by Edg422 »

I swear I tried the point picking tool and the scalar didn't showed up... I must be blind :D
Still learned the secret shortcut so it was worth the question.
Thanks
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Label with distance (or scalar field)

Post by daniel »

The scalar value appears in the label title (if the scalar field is active).
Daniel, CloudCompare admin
Edg422
Posts: 6
Joined: Sat May 02, 2020 8:08 pm

Re: Label with distance (or scalar field)

Post by Edg422 »

Yes, it did appear, I meant before I made the post I was also trying that but didn't see it...my bad.
Are there ways to customize that label block, like hiding the RGB values or even the XYZ?
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Label with distance (or scalar field)

Post by daniel »

If you right click on the label, it will 'collapse' (hiding everything but the title).
Daniel, CloudCompare admin
Post Reply