Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkTrackingDeviceConfigurationWidget Class Reference

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>

Inheritance diagram for QmitkTrackingDeviceConfigurationWidget:
Collaboration diagram for QmitkTrackingDeviceConfigurationWidget:

Signals

void TrackingDeviceSelectionChanged ()
 

Public Member Functions

 QmitkTrackingDeviceConfigurationWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~QmitkTrackingDeviceConfigurationWidget ()
 
mitk::TrackingDevice::Pointer GetTrackingDevice ()
 

Static Public Attributes

static const std::string VIEW_ID
 

Protected Types

typedef QMap< QString, mitk::TrackingDeviceTypePortDeviceMap
 

Protected Slots

void TrackingDeviceChanged ()
 

Protected Member Functions

virtual void CreateConnections ()
 Creation of the connections. More...
 
virtual void CreateQtPartControl (QWidget *parent)
 
void ResetOutput ()
 
void AddOutput (std::string s)
 
mitk::TrackingDevice::Pointer ConstructTrackingDevice ()
 
void StoreUISettings ()
 
void LoadUISettings ()
 QmitkTrackingDeviceConfigurationWidget::LoadUISettings. More...
 
void RefreshTrackingDeviceCollection ()
 

Protected Attributes

Ui::QmitkTrackingDeviceConfigurationWidgetControls * m_Controls
 
mitk::TrackingDevice::Pointer m_TrackingDevice
 

Detailed Description

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 43 of file QmitkTrackingDeviceConfigurationWidget.h.

Member Typedef Documentation

Constructor & Destructor Documentation

QmitkTrackingDeviceConfigurationWidget::QmitkTrackingDeviceConfigurationWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
QmitkTrackingDeviceConfigurationWidget::~QmitkTrackingDeviceConfigurationWidget ( )

Member Function Documentation

void QmitkTrackingDeviceConfigurationWidget::AddOutput ( std::string  s)
protected
mitk::TrackingDevice::Pointer QmitkTrackingDeviceConfigurationWidget::ConstructTrackingDevice ( )
protected
void QmitkTrackingDeviceConfigurationWidget::CreateConnections ( )
protectedvirtual

Creation of the connections.

Definition at line 64 of file QmitkTrackingDeviceConfigurationWidget.cpp.

References m_Controls, and TrackingDeviceChanged().

Referenced by QmitkTrackingDeviceConfigurationWidget().

void QmitkTrackingDeviceConfigurationWidget::CreateQtPartControl ( QWidget *  parent)
protectedvirtual
mitk::TrackingDevice::Pointer QmitkTrackingDeviceConfigurationWidget::GetTrackingDevice ( )
void QmitkTrackingDeviceConfigurationWidget::RefreshTrackingDeviceCollection ( )
protected
void QmitkTrackingDeviceConfigurationWidget::ResetOutput ( )
protected
void QmitkTrackingDeviceConfigurationWidget::StoreUISettings ( )
protected
void QmitkTrackingDeviceConfigurationWidget::TrackingDeviceChanged ( )
protectedslot
void QmitkTrackingDeviceConfigurationWidget::TrackingDeviceSelectionChanged ( )
signal

Referenced by TrackingDeviceChanged().

Member Data Documentation

Ui::QmitkTrackingDeviceConfigurationWidgetControls* QmitkTrackingDeviceConfigurationWidget::m_Controls
protected
mitk::TrackingDevice::Pointer QmitkTrackingDeviceConfigurationWidget::m_TrackingDevice
protected
const std::string QmitkTrackingDeviceConfigurationWidget::VIEW_ID
static

Definition at line 48 of file QmitkTrackingDeviceConfigurationWidget.h.


The documentation for this class was generated from the following files: