superclass for specific MIRCOBIRD tracking Devices
More...
#include <mitkMicroBirdTrackingDevice.h>
|
static ITK_THREAD_RETURN_TYPE | ThreadStartTracking (void *data) |
| Helper function, because the itk::MultiThreader can only start a new thread with a static member function. More...
|
|
superclass for specific MIRCOBIRD tracking Devices
Documentation This class connects to a Ascension Microbird tracking device. You can not add tools manually. All connected tools are discovered during OpenConnection() and added automatically. Retrieve them with GetTool(unsigned int toolNumber) and GetToolCount() after a call to OpenConnection().
Definition at line 40 of file mitkMicroBirdTrackingDevice.h.
◆ ToolContainerType
◆ ToolType
◆ MicroBirdTrackingDevice()
mitk::MicroBirdTrackingDevice::MicroBirdTrackingDevice |
( |
| ) |
|
|
protected |
◆ ~MicroBirdTrackingDevice()
virtual mitk::MicroBirdTrackingDevice::~MicroBirdTrackingDevice |
( |
| ) |
|
|
protectedvirtual |
◆ Clone()
Pointer mitk::MicroBirdTrackingDevice::Clone |
( |
| ) |
const |
◆ CloseConnection()
virtual bool mitk::MicroBirdTrackingDevice::CloseConnection |
( |
| ) |
|
|
virtual |
◆ CompareError()
bool mitk::MicroBirdTrackingDevice::CompareError |
( |
int |
errorCode, |
|
|
int |
errorConstant |
|
) |
| |
|
protected |
◆ GetErrorMessage()
virtual const char* mitk::MicroBirdTrackingDevice::GetErrorMessage |
( |
| ) |
const |
|
virtual |
returns description of most recent error.
Documentation
◆ GetMicroBirdTool()
ToolType* mitk::MicroBirdTrackingDevice::GetMicroBirdTool |
( |
unsigned int |
toolNumber | ) |
|
|
protected |
returns a tracking tool that contains positional information about one of the sensors
Documentation
◆ GetTool()
virtual TrackingTool* mitk::MicroBirdTrackingDevice::GetTool |
( |
unsigned int |
toolNumber | ) |
|
|
virtual |
returns a tracking tool that contains positional information about one of the sensors
Documentation
◆ GetToolCount()
virtual unsigned int mitk::MicroBirdTrackingDevice::GetToolCount |
( |
| ) |
const |
|
virtual |
◆ HandleError()
void mitk::MicroBirdTrackingDevice::HandleError |
( |
int |
errorCode | ) |
|
|
protected |
◆ InvalidateAll()
virtual void mitk::MicroBirdTrackingDevice::InvalidateAll |
( |
| ) |
|
|
protectedvirtual |
invalidates all tools (on stoptracking, closeconnection)
◆ mitkClassMacro()
◆ New()
static Pointer mitk::MicroBirdTrackingDevice::New |
( |
| ) |
|
|
static |
◆ OpenConnection()
virtual bool mitk::MicroBirdTrackingDevice::OpenConnection |
( |
| ) |
|
|
virtual |
Builds up the connection (loads tools, initializes and enables them)
Documentation
Implements mitk::TrackingDevice.
◆ SetErrorMessage()
virtual void mitk::MicroBirdTrackingDevice::SetErrorMessage |
( |
const char * |
_arg | ) |
|
|
protectedvirtual |
◆ SetType()
Set the type of the microBird Tracking Device because it can not yet handle this itself.
Documentation
◆ StartTracking()
virtual bool mitk::MicroBirdTrackingDevice::StartTracking |
( |
| ) |
|
|
virtual |
Start the tracking.
Documentation A new thread is created, which reads the position and orientation information of each tool and stores them inside the tools.
Implements mitk::TrackingDevice.
◆ StopTracking()
virtual bool mitk::MicroBirdTrackingDevice::StopTracking |
( |
| ) |
|
|
virtual |
◆ SwitchTransmitter()
bool mitk::MicroBirdTrackingDevice::SwitchTransmitter |
( |
bool |
switchOn | ) |
|
|
protected |
Switches the transmitter on resp. off.
◆ ThreadStartTracking()
static ITK_THREAD_RETURN_TYPE mitk::MicroBirdTrackingDevice::ThreadStartTracking |
( |
void * |
data | ) |
|
|
staticprotected |
Helper function, because the itk::MultiThreader can only start a new thread with a static member function.
◆ TrackTools()
virtual void mitk::MicroBirdTrackingDevice::TrackTools |
( |
| ) |
|
|
protectedvirtual |
◆ m_agc
AGC_MODE_TYPE mitk::MicroBirdTrackingDevice::m_agc |
|
protected |
◆ m_agcModeBoth
bool mitk::MicroBirdTrackingDevice::m_agcModeBoth |
|
protected |
◆ m_ErrorMessage
std::string mitk::MicroBirdTrackingDevice::m_ErrorMessage |
|
protected |
◆ m_measurementRate
double mitk::MicroBirdTrackingDevice::m_measurementRate |
|
protected |
◆ m_metric
BOOL mitk::MicroBirdTrackingDevice::m_metric |
|
protected |
◆ m_MultiThreader
itk::MultiThreader::Pointer mitk::MicroBirdTrackingDevice::m_MultiThreader |
|
protected |
◆ m_pl
double mitk::MicroBirdTrackingDevice::m_pl |
|
protected |
◆ m_SensorConfig
SENSOR_CONFIGURATION* mitk::MicroBirdTrackingDevice::m_SensorConfig |
|
protected |
◆ m_SystemConfig
SYSTEM_CONFIGURATION mitk::MicroBirdTrackingDevice::m_SystemConfig |
|
protected |
◆ m_ThreadID
int mitk::MicroBirdTrackingDevice::m_ThreadID |
|
protected |
◆ m_Tools
◆ m_ToolsMutex
itk::FastMutexLock::Pointer mitk::MicroBirdTrackingDevice::m_ToolsMutex |
|
protected |
◆ m_TransmitterConfig
TRANSMITTER_CONFIGURATION* mitk::MicroBirdTrackingDevice::m_TransmitterConfig |
|
protected |
◆ pRecord
DOUBLE_POSITION_QUATERNION_TIME_Q_RECORD * mitk::MicroBirdTrackingDevice::pRecord |
|
protected |
◆ record
DOUBLE_POSITION_QUATERNION_TIME_Q_RECORD mitk::MicroBirdTrackingDevice::record |
|
protected |
The documentation for this class was generated from the following file: