MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkClaronInterfaceStub.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found 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
25typedef int mtHandle;
26
27namespace mitk
28{
29 typedef int claronToolHandle;
30
38 class MITKIGT_EXPORT ClaronInterface : public itk::Object
39 {
40 public:
41
44 itkCloneMacro(Self)
50 void Initialize(std::string calibrationDir, std::string toolFilesDir);
51
56
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
102
103 protected:
112
113 };
114}//mitk
115#endif
An object of this class represents the interface to the MicronTracker. The methods of this class are ...
void GrabFrame()
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
ClaronInterface()
standard constructor
const char * GetName(claronToolHandle c)
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
std::vector< claronToolHandle > GetAllActiveTools()
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
std::vector< double > GetTipQuaternions(claronToolHandle c)
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
std::vector< double > GetTipPosition(claronToolHandle c)
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
mitkClassMacroItkParent(ClaronInterface, itk::Object)
bool StopTracking()
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
~ClaronInterface() override
standard destructor
std::vector< double > GetPosition(claronToolHandle c)
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
itkCloneMacro(Self) void Initialize(std bool StartTracking()
Initialization of claroninterface.
std::vector< double > GetQuaternions(claronToolHandle c)
This is only a stub, please switch the cmake variable USE_MICRON_TRACKER to on if you want to use the...
int mtHandle
IGT Exceptions.
int claronToolHandle