Medical Imaging Interaction Toolkit  2021.10.99-2cdb1412
Medical Imaging Interaction Toolkit
mitkStaticIGTHelperFunctions.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #include <mitkCommon.h>
13 #include <itkMatrix.h>
14 #include <mitkQuaternion.h>
15 #include "MitkIGTBaseExports.h"
16 #include <mitkPointSet.h>
17 #include <vtkLandmarkTransform.h>
18 #include <vtkSmartPointer.h>
19 
20 namespace mitk {
22  {
23  public:
30  static double GetAngleBetweenTwoQuaterions(mitk::Quaternion a, mitk::Quaternion b, itk::Vector<double,3> rotationVector);
31 
37  static double GetAngleBetweenTwoQuaterions(mitk::Quaternion a, mitk::Quaternion b);
38 
40  static itk::Matrix<double,3,3> ConvertEulerAnglesToRotationMatrix(double alpha, double beta, double gamma);
41 
49  static double ComputeFRE(mitk::PointSet::Pointer imageFiducials, mitk::PointSet::Pointer realWorldFiducials, vtkSmartPointer<vtkLandmarkTransform> transform = nullptr);
50  };
51 }
DataCollection - Class to facilitate loading/accessing structured data.
vnl_quaternion< ScalarType > Quaternion
#define MITKIGTBASE_EXPORT