Medical Imaging Interaction Toolkit  2023.04.00
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 
13 #ifndef mitkStaticIGTHelperFunctions_h
14 #define mitkStaticIGTHelperFunctions_h
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
25 {
26  namespace StaticIGTHelperFunctions
27  {
34  MITKIGTBASE_EXPORT double GetAngleBetweenTwoQuaterions(mitk::Quaternion a, mitk::Quaternion b, itk::Vector<double,3> rotationVector);
35 
42 
44  MITKIGTBASE_EXPORT itk::Matrix<double,3,3> ConvertEulerAnglesToRotationMatrix(double alpha, double beta, double gamma);
45 
53  MITKIGTBASE_EXPORT double ComputeFRE(mitk::PointSet::Pointer imageFiducials, mitk::PointSet::Pointer realWorldFiducials, vtkSmartPointer<vtkLandmarkTransform> transform = nullptr);
54  }
55 }
56 
57 #endif
MITKIGTBASE_EXPORT
#define MITKIGTBASE_EXPORT
Definition: MitkIGTBaseExports.h:15
itk::SmartPointer< Self >
mitk::StaticIGTHelperFunctions::ComputeFRE
MITKIGTBASE_EXPORT double ComputeFRE(mitk::PointSet::Pointer imageFiducials, mitk::PointSet::Pointer realWorldFiducials, vtkSmartPointer< vtkLandmarkTransform > transform=nullptr)
Computes the fiducial registration error out of two sets of fiducials. The two sets must have the sam...
mitkPointSet.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
MitkIGTBaseExports.h
mitkQuaternion.h
mitkCommon.h
mitk::StaticIGTHelperFunctions::ConvertEulerAnglesToRotationMatrix
MITKIGTBASE_EXPORT itk::Matrix< double, 3, 3 > ConvertEulerAnglesToRotationMatrix(double alpha, double beta, double gamma)
mitk::Quaternion
vnl_quaternion< ScalarType > Quaternion
Definition: mitkQuaternion.h:21
mitk::StaticIGTHelperFunctions::GetAngleBetweenTwoQuaterions
MITKIGTBASE_EXPORT double GetAngleBetweenTwoQuaterions(mitk::Quaternion a, mitk::Quaternion b, itk::Vector< double, 3 > rotationVector)