Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkClaronTool.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 mitkClaronTool_h
14 #define mitkClaronTool_h
15 
16 #include <mitkClaronInterface.h>
17 #include <mitkTrackingTool.h>
18 
19 namespace mitk
20 {
21  class ClaronTrackingDevice;
28  class MITKIGT_EXPORT ClaronTool : public TrackingTool
29  {
30  public:
31  friend class ClaronTrackingDevice;
33 
34 
38  bool LoadFile(const char* filename);
42  bool LoadFile(std::string filename);
43 
44  std::string GetFile();
45 
50  void SetToolHandle (claronToolHandle handle);
51 
55  std::string GetCalibrationName();
56 
61  void SetCalibrationName(std::string name);
62 
66  claronToolHandle GetToolHandle();
67 
68  protected:
69  itkFactorylessNewMacro(Self);
70  itkCloneMacro(Self)
71  ClaronTool();
72  ~ClaronTool() override;
76  std::string m_CalibrationName;
78  std::string m_Filename;
79  };
80 }//mitk
81 #endif
mitkClaronInterface.h
mitk::claronToolHandle
int claronToolHandle
Definition: mitkClaronInterface.h:34
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::ClaronTool::m_ToolHandle
claronToolHandle m_ToolHandle
Tool handle variable from tracking device.
Definition: mitkClaronTool.h:74
mitk::ClaronTrackingDevice
An object of this class represents the MicronTracker device. You can add tools to this device,...
Definition: mitkClaronTrackingDevice.h:38
mitkTrackingTool.h
mitk::ClaronTool
An object of this class represents a MicronTracker 2 tool. A tool has to be added to a tracking devic...
Definition: mitkClaronTool.h:28
mitk::ClaronTool::m_Filename
std::string m_Filename
Variable to check filename's format and to get back complete filename.
Definition: mitkClaronTool.h:78
mitk::ClaronTool::m_CalibrationName
std::string m_CalibrationName
Variable which holds the Tool's calibration name.
Definition: mitkClaronTool.h:76
mitk::TrackingTool
Interface for all Tracking Tools.
Definition: mitkTrackingTool.h:42
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36