13#ifndef mitkMicroBirdTrackingDevice_h
14#define mitkMicroBirdTrackingDevice_h
18#include <MitkIGTExports.h>
19#include <itkMultiThreader.h>
55 virtual bool OpenConnection();
60 virtual bool CloseConnection();
67 virtual bool StartTracking();
72 virtual bool StopTracking();
82 virtual unsigned int GetToolCount()
const;
90 void HandleError(
int errorCode);
91 bool CompareError(
int errorCode,
int errorConstant);
101 ToolType* GetMicroBirdTool(
unsigned int toolNumber);
103 virtual void InvalidateAll();
104 bool SwitchTransmitter(
bool switchOn);
111 virtual void TrackTools();
113 static ITK_THREAD_RETURN_TYPE ThreadStartTracking(
void* data);
126 DOUBLE_POSITION_QUATERNION_TIME_Q_RECORD record, *
pRecord;
superclass for specific MIRCOBIRD tracking Devices
SENSOR_CONFIGURATION * m_SensorConfig
The sensor configuration - used to get and set the sensor properties.
double m_pl
Specifies the power line frequency (Europe 50Hz, USA 60Hz)
BOOL m_metric
Specifies whether metric measurement is used.
std::vector< ToolType::Pointer > ToolContainerType
itkGetStringMacro(ErrorMessage)
returns description of most recent error.
itkFactorylessNewMacro(Self)
mitkClassMacro(MicroBirdTrackingDevice, TrackingDevice)
itk::MultiThreader::Pointer m_MultiThreader
itkSetStringMacro(ErrorMessage)
ToolContainerType m_Tools
itkSetMacro(Type, TrackingDeviceType)
Set the type of the microBird Tracking Device because it can not yet handle this itself.
SYSTEM_CONFIGURATION m_SystemConfig
The system configuration - used to specify its use.
itk::FastMutexLock::Pointer m_ToolsMutex
std::string m_ErrorMessage
TRANSMITTER_CONFIGURATION * m_TransmitterConfig
The transmitter configuration - used to get and set the transmitter properties.
double m_measurementRate
Specifies the measurement rate - default set to maximum.
DOUBLE_POSITION_QUATERNION_TIME_Q_RECORD * pRecord
One tracking data record (quaternion orientation format)
bool m_agcModeBoth
AGC (automatic gain control) mode flag.
Interface for all Tracking Devices.
std::string TrackingDeviceType