14 #ifndef mitkTrackingDevice_h
15 #define mitkTrackingDevice_h
17 #include <MitkIGTExports.h>
18 #include "itkObject.h"
61 virtual bool OpenConnection() = 0;
69 virtual bool CloseConnection() = 0;
78 virtual bool StartTracking() = 0;
87 virtual bool StopTracking();
94 virtual TrackingTool* GetTool(
unsigned int toolNumber)
const = 0;
107 virtual unsigned int GetToolCount()
const = 0;
115 virtual void SetRotationMode(RotationMode r);
120 itkGetConstMacro(RotationMode,RotationMode);
125 TrackingDeviceState GetState()
const;
141 std::string GetTrackingDeviceName();
167 virtual bool IsDeviceInstalled();
170 virtual bool AutoDetectToolsAvailable();
173 virtual bool AddSingleToolIsAvailable();
179 virtual mitk::NavigationToolStorage::Pointer AutoDetectTools();
182 TrackingDeviceState m_State;
188 void SetState(TrackingDeviceState state);