Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkPolhemusTool.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 mitkPolhemusTool_h
14 #define mitkPolhemusTool_h
15 
16 #include <mitkPolhemusInterface.h>
17 #include <mitkTrackingTool.h>
18 
19 namespace mitk
20 {
21  class PolhemusTrackingDevice;
28  class MITKIGT_EXPORT PolhemusTool : public TrackingTool
29  {
30  public:
31  friend class PolhemusTrackingDevice;
33 
35  {
39  SIGNIFICANT_DISTORTION
40  };
41 
45  virtual void SetToolPort(int _ToolPort);
46 
50  virtual int GetToolPort();
51 
62  void SetDistortionLevel(const int level);
63 
68  DistortionLevel GetDistortionLevel() const;
69 
70  protected:
71  itkFactorylessNewMacro(Self);
72  itkCloneMacro(Self)
73  PolhemusTool();
74  virtual ~PolhemusTool();
75 
76  //This is the port, on which the tool is connected. It is identical with the "ToolIdentifier" set on NavigationDataTools.
77  //If tool is connected on port "SENS 2", the m_ToolPort is 2 etc.
79 
81  };
82 }//mitk
83 #endif
mitkPolhemusInterface.h
mitk::PolhemusTool::MINOR_DISTORTION
@ MINOR_DISTORTION
System operational with a marginal magnetic signal.
Definition: mitkPolhemusTool.h:38
mitk::PolhemusTool
An object of this class represents a tool of a Polhemus tracking device. A tool has to be added to a ...
Definition: mitkPolhemusTool.h:28
mitk::PolhemusTool::DistortionLevel
DistortionLevel
Definition: mitkPolhemusTool.h:34
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::PolhemusTool::NO_DISTORTION
@ NO_DISTORTION
System operational with a good quality magnetic signal.
Definition: mitkPolhemusTool.h:37
mitk::PolhemusTool::m_ToolPort
int m_ToolPort
Definition: mitkPolhemusTool.h:78
mitk::PolhemusTool::m_DistortionLevel
DistortionLevel m_DistortionLevel
Definition: mitkPolhemusTool.h:80
mitkTrackingTool.h
mitk::PolhemusTool::UNDEFINED
@ UNDEFINED
Distortion level is not determined.
Definition: mitkPolhemusTool.h:36
mitk::TrackingTool
Interface for all Tracking Tools.
Definition: mitkTrackingTool.h:42
mitk::PolhemusTrackingDevice
An object of this class represents Polhemus tracking device. You can add tools to this device,...
Definition: mitkPolhemusTrackingDevice.h:33
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36