Medical Imaging Interaction Toolkit  2022.04.99-194dd5d8
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 PIVOTCALIBRATION_H_HEADER_INCLUDED_
15 #define PIVOTCALIBRATION_H_HEADER_INCLUDED_
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
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< mitk::NavigationData::Pointer > m_NavigationDatas
#define MITKIGT_EXPORT
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
Class for performing a pivot calibration out of a set of navigation datas.