Dear Daniel,
I am trying to build the CloudCompare 2.8.1 version in visual studio 15. I followed instructions BUILD.md file. I have used CMake-gui to set QT 5 Root path to C:\Qt\Qt5.8.0\5.8\msvc2015_64, and checked the QAnimation plugin to build it too.
I didn't change any other settings, apart from CMake install prefix set to C:\cloud compare\CloudCompare-2.8.1\Trunk install.
I have built the CloudCompareProjects.sln on the debug mode without any errors. I set the CloudCompare as startup Project, changed the debugging command property to C:\cloud compare\CloudCompare-2.8.1\Trunk build\qCC\Debug\CloudCompare.exe
İt works with QT interface !!
1) I would like to use only “point pairs picking registration” functions and class in my main.cpp solution
http://www.cloudcompare.org/doc/qCC/htm ... n_dlg.html
I use point pairs picking registration as Tools -> Registration -> Align (Point pairs picking) from QT interface. Therefore, I would like to use only “point pairs picking registration” function without QT.
2) I have two point clouds which are ordered to point pair registration How can I load my two point cloud for registration as a input and run the functions in my main.cpp? I do not want to use QT UI and pointPickingTool, I want to use only back-end functions for my point cloud. What should I do? Could you help me about this issue...
OS Version: Windows 10
CC Version: trunk 2.8.1
VS 2015
Qt 5.8.0
Thank you for your interest.
Best Regards.
Point pairs picking usage in Main.cpp
Point pairs picking usage in Main.cpp
- Attachments
-
- visualstudio2.JPG (187.51 KiB) Viewed 1227 times
-
- Visual studio.JPG (169.96 KiB) Viewed 1227 times
-
- cmake.JPG (196.21 KiB) Viewed 1227 times
Re: Point pairs picking usage in Main.cpp
The 'debug' command should be pointing to the installed version of CloudCompare.
Something like: 'C:\cloud compare\CloudCompare-2.8.1\Trunk install\CloudCompare_debug\CloudCompare.exe'.
Another potential issue is if you miss some dependency DLLs (but here it shouldn't be the case).
Something like: 'C:\cloud compare\CloudCompare-2.8.1\Trunk install\CloudCompare_debug\CloudCompare.exe'.
Another potential issue is if you miss some dependency DLLs (but here it shouldn't be the case).
Daniel, CloudCompare admin
Re: Point pairs picking usage in Main.cpp
Oh, and to answer your second question, you will have to inspire yourself from (this is how the 'Align' tool calls the HornRegistrationTools class from CC_CORE_LIB.
Code: Select all
https://github.com/CloudCompare/CloudCompare/blob/master/qCC/ccPointPairRegistrationDlg.cpp#L1092
Daniel, CloudCompare admin