Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #include <mitkCommon.h>
17 #include <itkMatrix.h>
18 #include <mitkQuaternion.h>
19 #include "MitkIGTBaseExports.h"
20 #include <mitkPointSet.h>
21 #include <vtkLandmarkTransform.h>
22 #include <vtkSmartPointer.h>
23 
24 namespace mitk {
26  {
27  public:
34  static double GetAngleBetweenTwoQuaterions(mitk::Quaternion a, mitk::Quaternion b, itk::Vector<double,3> rotationVector);
35 
42  static double GetAngleBetweenTwoQuaterions(mitk::Quaternion a, mitk::Quaternion b);
43 
45  static itk::Matrix<double,3,3> ConvertEulerAnglesToRotationMatrix(double alpha, double beta, double gamma);
46 
52  static double ComputeFRE(mitk::PointSet::Pointer imageFiducials, mitk::PointSet::Pointer realWorldFiducials, vtkSmartPointer<vtkLandmarkTransform> transform = NULL);
53  };
54 }
DataCollection - Class to facilitate loading/accessing structured data.
vnl_quaternion< ScalarType > Quaternion
#define MITKIGTBASE_EXPORT