Page 1 of 2

Display/View axis of CloudCompare

Posted: Thu Mar 19, 2020 1:19 am
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!

Re: Display/View axis of CloudCompare

Posted: Thu Mar 19, 2020 4:30 pm
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?

Re: Display/View axis of CloudCompare

Posted: Fri Mar 20, 2020 12:57 am
by lianli34312
For the display axis, what I want is this XYZ axis in CloudCompare
screenshot.jpg
screenshot.jpg (30.05 KiB) Viewed 16853 times

Re: Display/View axis of CloudCompare

Posted: Fri Mar 20, 2020 8:29 am
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.

Re: Display/View axis of CloudCompare

Posted: Fri Mar 20, 2020 8:52 am
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?

Re: Display/View axis of CloudCompare

Posted: Fri Mar 20, 2020 9:14 am
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?

Re: Display/View axis of CloudCompare

Posted: Fri Mar 20, 2020 1:44 pm
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?

Re: Display/View axis of CloudCompare

Posted: Sat Mar 21, 2020 12:21 pm
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.

Re: Display/View axis of CloudCompare

Posted: Mon Mar 23, 2020 11:22 am
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")

Re: Display/View axis of CloudCompare

Posted: Mon Mar 23, 2020 5:43 pm
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?