Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
18 #include <itkMacro.h>
19 #include <string>
20 
22 {
23  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
24 }
25 
27 {
28 
29 }
30 
31 void mitk::ClaronInterface::Initialize(std::string itkNotUsed(calibrationDir), std::string itkNotUsed(toolFilesDir))
32 {
33  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
34 }
35 
37 {
38  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
39  return false;
40 }
41 
43 {
44  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
45  return false;
46 }
47 
48 std::vector<mitk::claronToolHandle> mitk::ClaronInterface::GetAllActiveTools()
49 {
50  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
51  std::vector<mitk::claronToolHandle> returnValue;
52  return returnValue;
53 }
54 
56 {
57  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
58 }
59 
60 std::vector<double> mitk::ClaronInterface::GetTipPosition(mitk::claronToolHandle itkNotUsed(c))
61 {
62  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
63  std::vector<double> returnValue;
64  return returnValue;
65 }
66 
67 std::vector<double> mitk::ClaronInterface::GetPosition(claronToolHandle itkNotUsed(c))
68 {
69  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
70  std::vector<double> returnValue;
71  return returnValue;
72 }
73 
74 
75 std::vector<double> mitk::ClaronInterface::GetTipQuaternions(claronToolHandle itkNotUsed(c))
76 {
77  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
78  std::vector<double> returnValue;
79  return returnValue;
80 }
81 
82 std::vector<double> mitk::ClaronInterface::GetQuaternions(claronToolHandle itkNotUsed(c))
83 {
84  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
85  std::vector<double> returnValue;
86  return returnValue;
87 }
88 
89 const char* mitk::ClaronInterface::GetName(claronToolHandle itkNotUsed(c))
90 {
91  MITK_WARN("IGT") << "Error: MicronTracker is not included in this project";
92  return nullptr;
93 }
94 
96 {
97  return false;
98 }
ClaronInterface()
standard constructor
std::vector< double > GetTipPosition(claronToolHandle c)
std::vector< double > GetTipQuaternions(claronToolHandle c)
int claronToolHandle
~ClaronInterface()
standard destructor
const char * GetName(claronToolHandle c)
std::vector< double > GetPosition(claronToolHandle c)
bool StopTracking()
Clears all resources. After this method have been called the system isn'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:23
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()