18 #ifndef MITKTRACKINGDEVICE_H_HEADER_INCLUDED_C1C2FCD2
19 #define MITKTRACKINGDEVICE_H_HEADER_INCLUDED_C1C2FCD2
21 #include <MitkIGTExports.h>
22 #include "itkObject.h"
25 #include "itkFastMutexLock.h"
65 virtual bool OpenConnection() = 0;
73 virtual bool CloseConnection() = 0;
82 virtual bool StartTracking() = 0;
91 virtual bool StopTracking();
98 virtual TrackingTool* GetTool(
unsigned int toolNumber)
const = 0;
111 virtual unsigned int GetToolCount()
const = 0;
119 virtual void SetRotationMode(RotationMode r);
124 itkGetConstMacro(RotationMode,RotationMode);
129 TrackingDeviceState GetState()
const;
164 virtual bool IsDeviceInstalled();
167 TrackingDeviceState m_State;
173 void SetState(TrackingDeviceState state);
RotationMode m_RotationMode
defines the rotation mode Standard or Transposed, Standard is default
itk::SmartPointer< Self > Pointer
itk::FastMutexLock::Pointer m_TrackingFinishedMutex
mutex to manage control flow of StopTracking()
DataCollection - Class to facilitate loading/accessing structured data.
T::Pointer GetData(const std::string &name)
itk::FastMutexLock::Pointer m_StateMutex
mutex to control access to m_State
#define mitkClassMacroItkParent(className, SuperClassName)
bool m_StopTracking
signal stop to tracking thread
Interface for all Tracking Devices.
TrackingDeviceData m_Data
current device Data
std::string TrackingDeviceType
itk::FastMutexLock::Pointer m_StopTrackingMutex
mutex to control access to m_StopTracking