13 #ifndef MITKCLARONTRACKINGDEVICE_H_HEADER_INCLUDED_ 14 #define MITKCLARONTRACKINGDEVICE_H_HEADER_INCLUDED_ 18 #include <mitkIGTConfig.h> 21 #include <itkMultiThreader.h> 24 #ifdef MITK_USE_MICRON_TRACKER 43 itkFactorylessNewMacro(Self);
49 bool IsDeviceInstalled()
override;
56 bool StartTracking()
override;
62 bool StopTracking()
override;
68 bool OpenConnection()
override;
73 bool CloseConnection()
override;
78 unsigned int GetToolCount()
const override;
85 TrackingTool* GetTool(
unsigned int toolNumber)
const override;
110 itkSetMacro(CalibrationDir,std::string);
113 itkGetMacro(CalibrationDir,std::string);
125 bool InternalAddTool(ClaronTool::Pointer tool);
140 std::vector<ClaronTool::Pointer> DetectTools();
145 std::vector<ClaronTool::Pointer> GetAllTools();
152 static ITK_THREAD_RETURN_TYPE ThreadStartTracking(
void* data);
itk::MultiThreader::Pointer m_MultiThreader
std::string m_ToolfilesDir
The directory where the tool calibration files can be found.
An object of this class represents the interface to the MicronTracker. The methods of this class are ...
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< ClaronTool::Pointer > m_AllTools
vector holding all tools
An object of this class represents the MicronTracker device. You can add tools to this device...
#define mitkClassMacro(className, SuperClassName)
Interface for all Tracking Devices.
std::string m_CalibrationDir
The directory where the camera calibration files can be found.
ClaronInterface::Pointer m_Device
represents the interface to the tracking hardware