Display/View axis of CloudCompare

Feel free to ask any question here
lianli34312
Posts: 6
Joined: Thu Mar 19, 2020 1:09 am

Display/View axis of CloudCompare

Post by lianli34312 »

Hi all

Recently I tried to compare mesh-cloud by CloudCompare and the results were satisfactory. But I am wondering if the display and view can be shows the XYZ axis to better present the differences between mesh-cloud ? Another questions is the point list picking function can shows the distance between mesh-cloud, is there any ways to add a field to shows the distance?

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

Re: Display/View axis of CloudCompare

Post by daniel »

For the first question, you have many options to control how distances (and colors) are represented. The best way is generally to define you own 'custom' color scale with specific distances for specific color (see https://www.cloudcompare.org/doc/wiki/i ... es_Manager). But you can also directly tune the scalar field display settings in the cloud properties (see https://www.cloudcompare.org/doc/wiki/i ... properties).

And for your other question, if you a '2-points' label with the Point Picking tool, then you should see the distance in the label. You can even collapse the label by right-clicking on it (in which case you'll only see the distance). Or did I misunderstood your question?
Daniel, CloudCompare admin
lianli34312
Posts: 6
Joined: Thu Mar 19, 2020 1:09 am

Re: Display/View axis of CloudCompare

Post by lianli34312 »

For the display axis, what I want is this XYZ axis in CloudCompare
screenshot.jpg
screenshot.jpg (30.05 KiB) Viewed 16861 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Display/View axis of CloudCompare

Post by daniel »

Ah! We only have the small trihedron in the bottom right part of the screen.

One option is to export the result of CloudCompare (the point cloud with distances) as an ASCII/text file and open it in Matlab or another equivalent tool.
Daniel, CloudCompare admin
lianli34312
Posts: 6
Joined: Thu Mar 19, 2020 1:09 am

Re: Display/View axis of CloudCompare

Post by lianli34312 »

Thanks for the answers! For my second questions, since individual point picking after C2M distance calculation can shows its raw distance from cloud-to-mesh, is there any ways to add another fields in the point list picking to shows its particular C2M distance please?
lianli34312
Posts: 6
Joined: Thu Mar 19, 2020 1:09 am

Re: Display/View axis of CloudCompare

Post by lianli34312 »

daniel wrote: Fri Mar 20, 2020 8:29 am Ah! We only have the small trihedron in the bottom right part of the screen.

One option is to export the result of CloudCompare (the point cloud with distances) as an ASCII/text file and open it in Matlab or another equivalent tool.
I tried exported the C2M result to pcd format. But seems matlab can't read the scalar & colour from CC exported .pcd. Is there any ways to add this function by myself?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Display/View axis of CloudCompare

Post by daniel »

Oh I thought it was a cloud (and you can also export only the mesh vertices as a point cloud by the way if that's sufficient).

Which function do you want to add?
Daniel, CloudCompare admin
lianli34312
Posts: 6
Joined: Thu Mar 19, 2020 1:09 am

Re: Display/View axis of CloudCompare

Post by lianli34312 »

daniel wrote: Fri Mar 20, 2020 1:44 pm Oh I thought it was a cloud (and you can also export only the mesh vertices as a point cloud by the way if that's sufficient).

Which function do you want to add?
If it's possible, please add the display axis XYZ like matlab and C2M distance field in point list picking functions. Wondering if it can be realize by plug-in.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Display/View axis of CloudCompare

Post by daniel »

The axes could be indeed created by a plugin (or directly added to qCC_db) as a separate entity that uses its parent bounding-box and displays the axes in 3D.

For the 'Point list picking' tool, you would have to hack the existing one (in CloudCompare directly). Maybe simply add new export formats (such as "index, x, y, z, SFs")
Daniel, CloudCompare admin
lianli34312
Posts: 6
Joined: Thu Mar 19, 2020 1:09 am

Re: Display/View axis of CloudCompare

Post by lianli34312 »

daniel wrote: Mon Mar 23, 2020 11:22 am The axes could be indeed created by a plugin (or directly added to qCC_db) as a separate entity that uses its parent bounding-box and displays the axes in 3D.

For the 'Point list picking' tool, you would have to hack the existing one (in CloudCompare directly). Maybe simply add new export formats (such as "index, x, y, z, SFs")
Hi Daniel,

Which language should I learn to create plug-in and hack the point picking algorithm in CloudCompare ? Just download source-code of CloudCompare and then recompile?
Post Reply