Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitkPivotCalibration.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 
14 #ifndef mitkPivotCalibration_h
15 #define mitkPivotCalibration_h
16 
17 #include "MitkIGTExports.h"
18 #include <itkObject.h>
19 #include <itkObjectFactory.h>
20 #include <mitkCommon.h>
21 #include <mitkVector.h>
22 #include <mitkNavigationData.h>
23 #include <vector>
24 
25 
26 namespace mitk {
31  class MITKIGT_EXPORT PivotCalibration : public itk::Object
32  {
33  public:
35  itkNewMacro(Self);
36  void AddNavigationData(mitk::NavigationData::Pointer data);
41  bool ComputePivotResult();
42 
43  itkGetMacro(ResultPivotPoint,mitk::Point3D);
44  itkGetMacro(ResultRMSError,double);
45 
46 
47  protected:
49  ~PivotCalibration() override;
50 
51  std::vector<mitk::NavigationData::Pointer> m_NavigationDatas;
52 
53  bool ComputePivotPoint();
54  bool ComputePivotAxis();
55 
58 
59  };
60 } // Ende Namespace
61 #endif
mitk::PivotCalibration
Class for performing a pivot calibration out of a set of navigation datas.
Definition: mitkPivotCalibration.h:31
mitkNavigationData.h
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::PivotCalibration::m_ResultRMSError
double m_ResultRMSError
Definition: mitkPivotCalibration.h:57
mitk::PivotCalibration::m_NavigationDatas
std::vector< mitk::NavigationData::Pointer > m_NavigationDatas
Definition: mitkPivotCalibration.h:51
mitk::Point< ScalarType, 3 >
mitkCommon.h
mitk::PivotCalibration::m_ResultPivotPoint
mitk::Point3D m_ResultPivotPoint
Definition: mitkPivotCalibration.h:56
mitkVector.h