Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkClaronInterfaceStub.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 mitkClaronInterface_h // Must be equal to include guard in mitkClaronInterface.h
14 #define mitkClaronInterface_h
15 
16 #include <vector>
17 #include <string>
18 
19 #include <MitkIGTExports.h>
20 
21 #include <itkObject.h>
22 #include <itkObjectFactory.h>
23 #include "mitkCommon.h"
24 
25 typedef int mtHandle;
26 
27 namespace mitk
28 {
29  typedef int claronToolHandle;
30 
38  class MITKIGT_EXPORT ClaronInterface : public itk::Object
39  {
40  public:
41 
42  mitkClassMacroItkParent(ClaronInterface, itk::Object);
43  itkFactorylessNewMacro(Self);
44  itkCloneMacro(Self)
50  void Initialize(std::string calibrationDir, std::string toolFilesDir);
51 
55  bool StartTracking();
56 
60  bool StopTracking();
61 
65  std::vector<claronToolHandle> GetAllActiveTools();
66 
70  std::vector<double> GetTipPosition(claronToolHandle c);
71 
75  std::vector<double> GetTipQuaternions(claronToolHandle c);
76 
80  std::vector<double> GetPosition(claronToolHandle c);
81 
85  std::vector<double> GetQuaternions(claronToolHandle c);
86 
90  const char* GetName(claronToolHandle c);
91 
95  void GrabFrame();
96 
101  bool IsMicronTrackerInstalled();
102 
103  protected:
107  ClaronInterface();
111  ~ClaronInterface() override;
112 
113  };
114 }//mitk
115 #endif
mitk::claronToolHandle
int claronToolHandle
Definition: mitkClaronInterface.h:34
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitkCommon.h
mtHandle
int mtHandle
Definition: mitkClaronInterfaceStub.h:25