17 #ifndef MITKCLARONTRACKINGDEVICE_H_HEADER_INCLUDED_
18 #define MITKCLARONTRACKINGDEVICE_H_HEADER_INCLUDED_
22 #include <mitkIGTConfig.h>
25 #include <itkMultiThreader.h>
28 #ifdef MITK_USE_MICRON_TRACKER
47 itkFactorylessNewMacro(Self)
53 virtual bool IsDeviceInstalled()
override;
60 virtual bool StartTracking()
override;
66 virtual bool StopTracking()
override;
72 virtual bool OpenConnection()
override;
77 virtual bool CloseConnection()
override;
82 virtual unsigned int GetToolCount()
const override;
89 TrackingTool* GetTool(
unsigned int toolNumber)
const override;
114 itkSetMacro(CalibrationDir,std::string);
117 itkGetMacro(CalibrationDir,std::string);
144 std::vector<ClaronTool::Pointer> DetectTools();
149 std::vector<ClaronTool::Pointer> GetAllTools();
156 static ITK_THREAD_RETURN_TYPE ThreadStartTracking(
void* data);
itk::MultiThreader::Pointer m_MultiThreader
itk::SmartPointer< Self > Pointer
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