An object of this class offers an UI to configurate a tracking device. If the user finished the configuration process and a fully configurated tracking device is availiabe the object emits a signal "TrackingDeviceConfigurationFinished()". You can then get the tracking device by calling the method GetTrackingDevice().
More...
#include <QmitkTrackingDeviceConfigurationWidget.h>
|
void | OnConnected (bool _success) |
| This function is called, when in the TrackingToolboxView "Connect" was clicked and the device is successful connected. Can e.g. be used to activate options of a tracking device only when it is connected. More...
|
|
void | OnDisconnected (bool _success) |
| This function is called, when in the TrackingToolboxView "Disconnect" was clicked and the device is successful disconnected. Can e.g. be used to activate/disactivate options of a tracking device. More...
|
|
void | OnStartTracking (bool _success) |
| This function is called, when in the TrackingToolboxView "Start Tracking" was clicked and the device successfully started tracking. Can e.g. be used to activate options of a tracking device only when tracking is started. More...
|
|
void | OnStopTracking (bool _success) |
| This function is called, when in the TrackingToolboxView "Stop Tracking" was clicked and the device successful stopped tracking. Can e.g. be used to activate/disactivate options when device is not tracking. More...
|
|
|
Ui::QmitkTrackingDeviceConfigurationWidgetControls * | m_Controls |
|
An object of this class offers an UI to configurate a tracking device. If the user finished the configuration process and a fully configurated tracking device is availiabe the object emits a signal "TrackingDeviceConfigurationFinished()". You can then get the tracking device by calling the method GetTrackingDevice().
Documentation: Once the tracking device is configurated there are two ways to reset the UI to allow the user for configuring a new device. The method Reset() can be called and there is also a button "reset" which can be pressed by the user. In both cases a signal "TrackingDeviceConfigurationReseted()" is emitted and you may wait for a new configurated tracking device.
Definition at line 40 of file QmitkTrackingDeviceConfigurationWidget.h.
◆ PortDeviceMap
◆ QmitkTrackingDeviceConfigurationWidget()
QmitkTrackingDeviceConfigurationWidget::QmitkTrackingDeviceConfigurationWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = nullptr |
|
) |
| |
◆ ~QmitkTrackingDeviceConfigurationWidget()
QmitkTrackingDeviceConfigurationWidget::~QmitkTrackingDeviceConfigurationWidget |
( |
| ) |
|
|
override |
◆ AddOutput()
void QmitkTrackingDeviceConfigurationWidget::AddOutput |
( |
std::string |
s | ) |
|
|
protected |
◆ CreateConnections()
virtual void QmitkTrackingDeviceConfigurationWidget::CreateConnections |
( |
| ) |
|
|
protectedvirtual |
Creation of the connections.
◆ CreateQtPartControl()
virtual void QmitkTrackingDeviceConfigurationWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
◆ GetTrackingDevice()
mitk::TrackingDevice::Pointer QmitkTrackingDeviceConfigurationWidget::GetTrackingDevice |
( |
| ) |
|
◆ LoadUISettings()
void QmitkTrackingDeviceConfigurationWidget::LoadUISettings |
( |
| ) |
|
|
protected |
◆ OnConnected
void QmitkTrackingDeviceConfigurationWidget::OnConnected |
( |
bool |
_success | ) |
|
|
slot |
This function is called, when in the TrackingToolboxView "Connect" was clicked and the device is successful connected. Can e.g. be used to activate options of a tracking device only when it is connected.
◆ OnDisconnected
void QmitkTrackingDeviceConfigurationWidget::OnDisconnected |
( |
bool |
_success | ) |
|
|
slot |
This function is called, when in the TrackingToolboxView "Disconnect" was clicked and the device is successful disconnected. Can e.g. be used to activate/disactivate options of a tracking device.
◆ OnStartTracking
void QmitkTrackingDeviceConfigurationWidget::OnStartTracking |
( |
bool |
_success | ) |
|
|
slot |
This function is called, when in the TrackingToolboxView "Start Tracking" was clicked and the device successfully started tracking. Can e.g. be used to activate options of a tracking device only when tracking is started.
◆ OnStopTracking
void QmitkTrackingDeviceConfigurationWidget::OnStopTracking |
( |
bool |
_success | ) |
|
|
slot |
This function is called, when in the TrackingToolboxView "Stop Tracking" was clicked and the device successful stopped tracking. Can e.g. be used to activate/disactivate options when device is not tracking.
◆ OnToolStorageChanged()
void QmitkTrackingDeviceConfigurationWidget::OnToolStorageChanged |
( |
| ) |
|
This function is called, when anything in the ToolStorage changed, e.g. AddTool or EditTool. ServiceListener is connected in the QmitkMITKIGTTrackingToolboxView.
◆ RefreshTrackingDeviceCollection()
void QmitkTrackingDeviceConfigurationWidget::RefreshTrackingDeviceCollection |
( |
| ) |
|
|
protected |
◆ ResetOutput()
void QmitkTrackingDeviceConfigurationWidget::ResetOutput |
( |
| ) |
|
|
protected |
◆ StoreUISettings()
void QmitkTrackingDeviceConfigurationWidget::StoreUISettings |
( |
| ) |
|
|
protected |
◆ TrackingDeviceChanged
void QmitkTrackingDeviceConfigurationWidget::TrackingDeviceChanged |
( |
| ) |
|
|
protectedslot |
◆ TrackingDeviceSelectionChanged
void QmitkTrackingDeviceConfigurationWidget::TrackingDeviceSelectionChanged |
( |
| ) |
|
|
signal |
◆ m_Controls
Ui::QmitkTrackingDeviceConfigurationWidgetControls* QmitkTrackingDeviceConfigurationWidget::m_Controls |
|
protected |
◆ VIEW_ID
const std::string QmitkTrackingDeviceConfigurationWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: