Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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_HEADER_INCLUDED_
14 #define MITKCLARONTOOL_H_HEADER_INCLUDED_
15 
16 #include <mitkClaronInterface.h>
17 #include <mitkTrackingTool.h>
18 #include <itkFastMutexLock.h>
19 
20 namespace mitk
21 {
22  class ClaronTrackingDevice;
29  class MITKIGT_EXPORT ClaronTool : public TrackingTool
30  {
31  public:
32  friend class ClaronTrackingDevice;
34 
35 
39  bool LoadFile(const char* filename);
43  bool LoadFile(std::string filename);
44 
45  std::string GetFile();
46 
51  void SetToolHandle (claronToolHandle handle);
52 
56  std::string GetCalibrationName();
57 
62  void SetCalibrationName(std::string name);
63 
67  claronToolHandle GetToolHandle();
68 
69  protected:
70  itkFactorylessNewMacro(Self);
71  itkCloneMacro(Self)
72  ClaronTool();
73  ~ClaronTool() override;
77  std::string m_CalibrationName;
79  std::string m_Filename;
80  };
81 }//mitk
82 #endif // MITKCLARONTOOL_H_HEADER_INCLUDED_
Interface for all Tracking Tools.
int claronToolHandle
std::string m_CalibrationName
Variable which holds the Tool&#39;s calibration name.
DataCollection - Class to facilitate loading/accessing structured data.
std::string m_Filename
Variable to check filename&#39;s format and to get back complete filename.
An object of this class represents the MicronTracker device. You can add tools to this device...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
claronToolHandle m_ToolHandle
Tool handle variable from tracking device.
An object of this class represents a MicronTracker 2 tool. A tool has to be added to a tracking devic...