Commit 996be8bd authored by Jan Möbius's avatar Jan Möbius

Correct gmm include

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6066 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c7813d58
//============================================================================= //=============================================================================
// //
// OpenFlipper // OpenFlipper
// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen // Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen
// www.openflipper.org // www.openflipper.org
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// License // License
// //
// OpenFlipper is free software: you can redistribute it and/or modify // OpenFlipper is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by // it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or // the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. // (at your option) any later version.
// //
// OpenFlipper is distributed in the hope that it will be useful, // OpenFlipper is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details. // GNU Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with OpenFlipper. If not, see <http://www.gnu.org/licenses/>. // along with OpenFlipper. If not, see <http://www.gnu.org/licenses/>.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Revision$ // $Revision$
// $Author$ // $Author$
// $Date$ // $Date$
// //
//============================================================================= //=============================================================================
//============================================================================= //=============================================================================
// //
// CLASS ICP // CLASS ICP
// //
//============================================================================= //=============================================================================
#ifndef ICP_HH #ifndef ICP_HH
#define ICP_HH #define ICP_HH
/*! \file ICP.hh /*! \file ICP.hh
\brief Classes for ICP Algorithm \brief Classes for ICP Algorithm
Classes for doing Principal component analysis Classes for doing Principal component analysis
*/ */
//== INCLUDES ================================================================= //== INCLUDES =================================================================
#include <gmm.h> #include <gmm/gmm.h>
//== FORWARDDECLARATIONS ====================================================== //== FORWARDDECLARATIONS ======================================================
//== NAMESPACES =============================================================== //== NAMESPACES ===============================================================
/// Namespace for ICP /// Namespace for ICP
namespace ICP { namespace ICP {
//== CLASS DEFINITION ========================================================= //== CLASS DEFINITION =========================================================
/** \brief Compute rigid transformation from first point set to second point set /** \brief Compute rigid transformation from first point set to second point set
* *
* Compute ICP Parameters ( No iteration is done ) Points are unchanged, only parameters are computed. * Compute ICP Parameters ( No iteration is done ) Points are unchanged, only parameters are computed.
* @param _points1 first set of points * @param _points1 first set of points
* @param _points2 second set of points * @param _points2 second set of points
* @param _cog1 center of gravity first point set * @param _cog1 center of gravity first point set
* @param _cog2 center of gravity second point set * @param _cog2 center of gravity second point set
* @param _scale1 variance of first point set * @param _scale1 variance of first point set
* @param _scale1 variance of second point set * @param _scale1 variance of second point set
* @param _rotation Rotation between point sets ( rotation(_points1) -> _points2 * @param _rotation Rotation between point sets ( rotation(_points1) -> _points2
* *
*/ */
template < typename VectorT , typename QuaternionT > template < typename VectorT , typename QuaternionT >
void icp(std::vector< VectorT >& _points1 , std::vector< VectorT >& _points2 , VectorT& _cog1 , VectorT& _cog2 , double& _scale1 , double& _scale2 , QuaternionT& _rotation ); void icp(std::vector< VectorT >& _points1 , std::vector< VectorT >& _points2 , VectorT& _cog1 , VectorT& _cog2 , double& _scale1 , double& _scale2 , QuaternionT& _rotation );
//============================================================================= //=============================================================================
} //namespace ICP } //namespace ICP
//============================================================================= //=============================================================================
#if defined(INCLUDE_TEMPLATES) && !defined(ICP_C) #if defined(INCLUDE_TEMPLATES) && !defined(ICP_C)
#define ICP_TEMPLATES #define ICP_TEMPLATES
#include "ICP.cc" #include "ICP.cc"
#endif #endif
//============================================================================= //=============================================================================
#endif // ICP_HH defined #endif // ICP_HH defined
//============================================================================= //=============================================================================
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment