Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkNDIAuroraWidget Class Reference

Implementation of a configuration widget for NDI Aurora Devices. More...

#include <QmitkNDIAuroraWidget.h>

Inheritance diagram for QmitkNDIAuroraWidget:
Collaboration diagram for QmitkNDIAuroraWidget:

Public Member Functions

 QmitkNDIAuroraWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~QmitkNDIAuroraWidget ()
 
virtual void Initialize ()
 Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call InitializeSuperclassWidget(), CreateQtPartControl and optionally CreateConnections during this function. More...
 
- Public Member Functions inherited from QmitkNDIAbstractDeviceWidget
 QmitkNDIAbstractDeviceWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~QmitkNDIAbstractDeviceWidget ()
 
- Public Member Functions inherited from QmitkAbstractTrackingDeviceWidget
 QmitkAbstractTrackingDeviceWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~QmitkAbstractTrackingDeviceWidget ()
 
QmitkAbstractTrackingDeviceWidgetCloneForQt (QWidget *parent=0) const
 Return pointer to copy of the object. Internally use of QmitkUSAbstractCustomWidget::Clone() with additionaly setting an internal flag that the object was really cloned. More...
 
bool IsInitialized () const
 
virtual bool IsDeviceInstalled ()
 Optional method to investigate if drivers etc for your device are installed. The default value is "true" as most devices don't need this information. Others however migth crash, and for these you might implement this function (see QmitkMicronTrackerWidget) More...
 

Static Public Attributes

static const std::string VIEW_ID
 
- Static Public Attributes inherited from QmitkNDIAbstractDeviceWidget
static const std::string VIEW_ID
 
- Static Public Attributes inherited from QmitkAbstractTrackingDeviceWidget
static const std::string VIEW_ID
 

Protected Member Functions

virtual void ResetOutput ()
 Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) More...
 
virtual void AddOutput (std::string s)
 Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) More...
 
virtual mitk::TrackingDevice::Pointer ConstructTrackingDevice ()
 
virtual void StoreUISettings ()
 Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) More...
 
virtual void LoadUISettings ()
 Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) More...
 
virtual void SetPortValueToGUI (int portValue)
 
virtual void SetPortTypeToGUI (int portType)
 
virtual QmitkNDIAuroraWidgetClone (QWidget *parent) const
 Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call Initialize() during this function and copy all of your settings. More...
 
- Protected Member Functions inherited from QmitkNDIAbstractDeviceWidget
void InitializeNDIWidget ()
 
- Protected Member Functions inherited from QmitkAbstractTrackingDeviceWidget
PERSISTENCE_GET_SERVICE_METHOD_MACRO void InitializeSuperclassWidget ()
 

Protected Attributes

Ui::QmitkNDIAuroraWidget * m_Controls
 
- Protected Attributes inherited from QmitkNDIAbstractDeviceWidget
QThread * m_ScanPortsWorkerThread
 
QmitkTrackingDeviceConfigurationWidgetScanPortsWorkerm_ScanPortsWorker
 
- Protected Attributes inherited from QmitkAbstractTrackingDeviceWidget
QmitkTrackingDeviceConfigurationWidgetConnectionWorkerm_TestConnectionWorker
 
QThread * m_TestConnectionWorkerThread
 

Additional Inherited Members

- Signals inherited from QmitkNDIAbstractDeviceWidget
void PortsScanned (int Port, QString result, int PortType)
 
- Signals inherited from QmitkAbstractTrackingDeviceWidget
void ConnectionTested (bool connected, QString output)
 
- Public Attributes inherited from QmitkAbstractTrackingDeviceWidget
std::string m_ErrorMessage
 current problem description More...
 
- Protected Slots inherited from QmitkNDIAbstractDeviceWidget
void AutoScanPorts ()
 
void AutoScanPortsFinished (int Port, QString result, int PortType)
 
- Protected Slots inherited from QmitkAbstractTrackingDeviceWidget
void TestConnectionFinished (bool connected, QString output)
 
void TestConnection ()
 

Detailed Description

Implementation of a configuration widget for NDI Aurora Devices.

Documentation:

Definition at line 29 of file QmitkNDIAuroraWidget.h.

Constructor & Destructor Documentation

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

Definition at line 27 of file QmitkNDIAuroraWidget.cpp.

Referenced by Clone().

QmitkNDIAuroraWidget::~QmitkNDIAuroraWidget ( )

Definition at line 40 of file QmitkNDIAuroraWidget.cpp.

References m_Controls.

Member Function Documentation

void QmitkNDIAuroraWidget::AddOutput ( std::string  )
protectedvirtual

Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget)

Implements QmitkNDIAbstractDeviceWidget.

Definition at line 77 of file QmitkNDIAuroraWidget.cpp.

References m_Controls.

QmitkNDIAuroraWidget * QmitkNDIAuroraWidget::Clone ( QWidget *  parent) const
protectedvirtual

Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call Initialize() during this function and copy all of your settings.

Implements QmitkAbstractTrackingDeviceWidget.

Definition at line 166 of file QmitkNDIAuroraWidget.cpp.

References Initialize(), m_Controls, QmitkNDIAuroraWidget(), SetPortTypeToGUI(), and SetPortValueToGUI().

mitk::TrackingDevice::Pointer QmitkNDIAuroraWidget::ConstructTrackingDevice ( )
protectedvirtual
void QmitkNDIAuroraWidget::Initialize ( )
virtual

Subclass must implement this method to return a pointer to a copy of the object. Please don't forget to call InitializeSuperclassWidget(), CreateQtPartControl and optionally CreateConnections during this function.

Implements QmitkNDIAbstractDeviceWidget.

Definition at line 33 of file QmitkNDIAuroraWidget.cpp.

References QmitkNDIAbstractDeviceWidget::InitializeNDIWidget().

Referenced by Clone().

void QmitkNDIAuroraWidget::LoadUISettings ( )
protectedvirtual

Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget)

Reimplemented from QmitkAbstractTrackingDeviceWidget.

Definition at line 128 of file QmitkNDIAuroraWidget.cpp.

References GetPersistenceService(), m_Controls, MITK_ERROR, SetPortTypeToGUI(), and SetPortValueToGUI().

void QmitkNDIAuroraWidget::ResetOutput ( )
protectedvirtual

Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget)

Reimplemented from QmitkAbstractTrackingDeviceWidget.

Definition at line 72 of file QmitkNDIAuroraWidget.cpp.

References m_Controls.

void QmitkNDIAuroraWidget::SetPortTypeToGUI ( int  portType)
protectedvirtual

Implements QmitkNDIAbstractDeviceWidget.

Definition at line 162 of file QmitkNDIAuroraWidget.cpp.

References m_Controls.

Referenced by Clone(), and LoadUISettings().

void QmitkNDIAuroraWidget::SetPortValueToGUI ( int  portValue)
protectedvirtual

Implements QmitkNDIAbstractDeviceWidget.

Definition at line 159 of file QmitkNDIAuroraWidget.cpp.

References m_Controls.

Referenced by Clone(), and LoadUISettings().

void QmitkNDIAuroraWidget::StoreUISettings ( )
protectedvirtual

Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget)

Reimplemented from QmitkAbstractTrackingDeviceWidget.

Definition at line 109 of file QmitkNDIAuroraWidget.cpp.

References GetPersistenceService(), and m_Controls.

Member Data Documentation

Ui::QmitkNDIAuroraWidget* QmitkNDIAuroraWidget::m_Controls
protected
const std::string QmitkNDIAuroraWidget::VIEW_ID
static

Definition at line 34 of file QmitkNDIAuroraWidget.h.


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