| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //##########################################################################
- //# #
- //# CLOUDCOMPARE #
- //# #
- //# This program is free software; you can redistribute it and/or modify #
- //# it under the terms of the GNU General Public License as published by #
- //# the Free Software Foundation; version 2 or later of the License. #
- //# #
- //# This program is distributed in the hope that it will be useful, #
- //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
- //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
- //# GNU General Public License for more details. #
- //# #
- //# COPYRIGHT: EDF R&D / TELECOM ParisTech (ENST-TSI) #
- //# #
- //##########################################################################
- #ifndef CC_REGISTRATION_TOOLS_HEADER
- #define CC_REGISTRATION_TOOLS_HEADER
- //CCCoreLib
- #include <RegistrationTools.h>
- //qCC_db
- #include <ccGLMatrix.h>
- class QWidget;
- class QStringList;
- class ccHObject;
- //! Registration tools wrapper
- class ccRegistrationTools
- {
- public:
- //! Applies ICP registration on two entities
- /** \warning Automatically samples points on meshes if necessary (see code for magic numbers ;)
- **/
- static bool ICP(ccHObject* data,
- ccHObject* model,
- ccGLMatrix& transMat,
- double& finalScale,
- double& finalRMS,
- unsigned& finalPointCount,
- const CCCoreLib::ICPRegistrationTools::Parameters& inputParameters,
- bool useDataSFAsWeights = false,
- bool useModelSFAsWeights = false,
- QWidget* parent = nullptr);
- };
- #endif //CC_REGISTRATION_TOOLS_HEADER
|