diff --git a/Modules/IGTBase/mitkQuaternionAveraging.h b/Modules/IGTBase/mitkQuaternionAveraging.h index 0e7d4f2063..da8f5a4859 100644 --- a/Modules/IGTBase/mitkQuaternionAveraging.h +++ b/Modules/IGTBase/mitkQuaternionAveraging.h @@ -1,56 +1,56 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef QUATERNIONAVERAGING_H_HEADER_INCLUDED_ #define QUATERNIONAVERAGING_H_HEADER_INCLUDED_ #include "MitkIGTBaseExports.h" #include #include #include #include #include #include namespace mitk { /**Documentation * \brief This class offers methods to average quaternions. * \ingroup IGT Base */ class MITKIGTBASE_EXPORT QuaternionAveraging : public itk::Object { public: - mitkClassMacro(QuaternionAveraging, itk::Object); + mitkClassMacroItkParent(QuaternionAveraging, itk::Object); itkNewMacro(Self); enum Mode { SimpleMean, //simple averaging over all components of the quaternion, only valid for small differences. Slerp //more advanced algorithm for averaging (spherical linear interpolation), may also be used for huge differences }; static mitk::Quaternion CalcAverage(const std::vector quaternions, Mode mode = SimpleMean); protected: QuaternionAveraging(); virtual ~QuaternionAveraging(); }; } // Ende Namespace #endif