Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
Medical Imaging Interaction Toolkit
mitkClaronInterfaceStub.cpp
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 
14 #include <itkMacro.h>
15 #include <string>
16 
18 {
19  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
20 }
21 
23 {
24 
25 }
26 
27 void mitk::ClaronInterface::Initialize(std::string itkNotUsed(calibrationDir), std::string itkNotUsed(toolFilesDir))
28 {
29  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
30 }
31 
33 {
34  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
35  return false;
36 }
37 
39 {
40  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
41  return false;
42 }
43 
44 std::vector<mitk::claronToolHandle> mitk::ClaronInterface::GetAllActiveTools()
45 {
46  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
47  std::vector<mitk::claronToolHandle> returnValue;
48  return returnValue;
49 }
50 
52 {
53  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
54 }
55 
56 std::vector<double> mitk::ClaronInterface::GetTipPosition(mitk::claronToolHandle itkNotUsed(c))
57 {
58  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
59  std::vector<double> returnValue;
60  return returnValue;
61 }
62 
63 std::vector<double> mitk::ClaronInterface::GetPosition(claronToolHandle itkNotUsed(c))
64 {
65  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
66  std::vector<double> returnValue;
67  return returnValue;
68 }
69 
70 
71 std::vector<double> mitk::ClaronInterface::GetTipQuaternions(claronToolHandle itkNotUsed(c))
72 {
73  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
74  std::vector<double> returnValue;
75  return returnValue;
76 }
77 
78 std::vector<double> mitk::ClaronInterface::GetQuaternions(claronToolHandle itkNotUsed(c))
79 {
80  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
81  std::vector<double> returnValue;
82  return returnValue;
83 }
84 
85 const char* mitk::ClaronInterface::GetName(claronToolHandle itkNotUsed(c))
86 {
87  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
88  return nullptr;
89 }
90 
92 {
93  return false;
94 }
char calibrationDir[512]
Variable which holds the directory which should contain the file BumbleBee_6400420.calib. This directory is needed by the MTC library.
ClaronInterface()
standard constructor
std::vector< double > GetTipPosition(claronToolHandle c)
std::vector< double > GetTipQuaternions(claronToolHandle c)
int claronToolHandle
const char * GetName(claronToolHandle c)
std::vector< double > GetPosition(claronToolHandle c)
~ClaronInterface() override
standard destructor
bool StopTracking()
Clears all resources. After this method have been called the system isn&#39;t ready to track any longer...
bool StartTracking()
Opens the connection to the device and makes it ready to track tools.
#define MITK_WARN
Definition: mitkLogMacros.h:19
void GrabFrame()
Grabs a frame from the camera.
std::vector< double > GetQuaternions(claronToolHandle c)
void Initialize(std::string calibrationDir, std::string toolFilesDir)
Initialization of claroninterface.
std::vector< claronToolHandle > GetAllActiveTools()