Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 
17 #ifndef MITKCLARONTOOL_H_HEADER_INCLUDED_
18 #define MITKCLARONTOOL_H_HEADER_INCLUDED_
19 
20 #include <mitkClaronInterface.h>
22 #include <itkFastMutexLock.h>
23 
24 namespace mitk
25 {
26  class ClaronTrackingDevice;
33  class MITKIGT_EXPORT ClaronTool : public InternalTrackingTool
34  {
35  public:
36  friend class ClaronTrackingDevice;
38 
39 
43  bool LoadFile(const char* filename);
47  bool LoadFile(std::string filename);
48 
49  std::string GetFile();
50 
55  void SetToolHandle (claronToolHandle handle);
56 
60  std::string GetCalibrationName();
61 
66  void SetCalibrationName(std::string name);
67 
71  claronToolHandle GetToolHandle();
72 
73  protected:
74  itkFactorylessNewMacro(Self)
75  itkCloneMacro(Self)
76  ClaronTool();
77  virtual ~ClaronTool();
79  claronToolHandle m_ToolHandle;
81  std::string m_CalibrationName;
83  std::string m_Filename;
84  };
85 }//mitk
86 #endif // MITKCLARONTOOL_H_HEADER_INCLUDED_
int claronToolHandle
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
An object of this class represents the MicronTracker device. You can add tools to this device...
implements TrackingTool interface
static const std::string filename
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
An object of this class represents a MicronTracker 2 tool. A tool has to be added to a tracking devic...