17 #ifndef MITKMIRCOBIRDTRACKINGDEVICE_H_HEADER_INCLUDED
18 #define MITKMIRCOBIRDTRACKINGDEVICE_H_HEADER_INCLUDED
22 #include <MitkIGTExports.h>
23 #include <itkMultiThreader.h>
48 itkFactorylessNewMacro(Self)
59 virtual bool OpenConnection();
64 virtual bool CloseConnection();
71 virtual bool StartTracking();
76 virtual bool StopTracking();
86 virtual unsigned int GetToolCount()
const;
91 itkGetStringMacro(ErrorMessage);
94 void HandleError(
int errorCode);
95 bool CompareError(
int errorCode,
int errorConstant);
105 ToolType* GetMicroBirdTool(
unsigned int toolNumber);
107 virtual void InvalidateAll();
108 bool SwitchTransmitter(
bool switchOn);
115 virtual void TrackTools();
117 static ITK_THREAD_RETURN_TYPE ThreadStartTracking(
void* data);
119 itkSetStringMacro(ErrorMessage);
130 DOUBLE_POSITION_QUATERNION_TIME_Q_RECORD
record, *pRecord;
itk::SmartPointer< Self > Pointer
std::vector< ToolType::Pointer > ToolContainerType
superclass for specific MIRCOBIRD tracking Devices
DataCollection - Class to facilitate loading/accessing structured data.
itk::FastMutexLock::Pointer m_ToolsMutex
std::string m_ErrorMessage
bool m_agcModeBoth
AGC (automatic gain control) mode flag.
itk::MultiThreader::Pointer m_MultiThreader
BOOL m_metric
Specifies whether metric measurement is used.
#define mitkClassMacro(className, SuperClassName)
SENSOR_CONFIGURATION * m_SensorConfig
The sensor configuration - used to get and set the sensor properties.
Interface for all Tracking Devices.
SYSTEM_CONFIGURATION m_SystemConfig
The system configuration - used to specify its use.
ToolContainerType m_Tools
double m_measurementRate
Specifies the measurement rate - default set to maximum.
double m_pl
Specifies the power line frequency (Europe 50Hz, USA 60Hz)
std::string TrackingDeviceType
TRANSMITTER_CONFIGURATION * m_TransmitterConfig
The transmitter configuration - used to get and set the transmitter properties.
DOUBLE_POSITION_QUATERNION_TIME_Q_RECORD record
InternalTrackingTool ToolType