Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Implementation of a configuration widget for NDI Aurora Devices. More...
#include <QmitkNDIAuroraWidget.h>
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 () |
QmitkAbstractTrackingDeviceWidget * | CloneForQt (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 QmitkNDIAuroraWidget * | Clone (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 |
QmitkTrackingDeviceConfigurationWidgetScanPortsWorker * | m_ScanPortsWorker |
Protected Attributes inherited from QmitkAbstractTrackingDeviceWidget | |
QmitkTrackingDeviceConfigurationWidgetConnectionWorker * | m_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 () |
Implementation of a configuration widget for NDI Aurora Devices.
Documentation:
Definition at line 29 of file QmitkNDIAuroraWidget.h.
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.
|
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.
|
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().
|
protectedvirtual |
Implements QmitkAbstractTrackingDeviceWidget.
Definition at line 83 of file QmitkNDIAuroraWidget.cpp.
References mitk::SerialCommunication::BaudRate115200, mitk::NDIAuroraTypeInformation::GetTrackingDeviceName(), m_Controls, and mitk::NDITrackingDevice::New().
|
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().
|
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().
|
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.
|
protectedvirtual |
Implements QmitkNDIAbstractDeviceWidget.
Definition at line 162 of file QmitkNDIAuroraWidget.cpp.
References m_Controls.
Referenced by Clone(), and LoadUISettings().
|
protectedvirtual |
Implements QmitkNDIAbstractDeviceWidget.
Definition at line 159 of file QmitkNDIAuroraWidget.cpp.
References m_Controls.
Referenced by Clone(), and LoadUISettings().
|
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.
|
protected |
Definition at line 59 of file QmitkNDIAuroraWidget.h.
Referenced by AddOutput(), Clone(), ConstructTrackingDevice(), LoadUISettings(), ResetOutput(), SetPortTypeToGUI(), SetPortValueToGUI(), StoreUISettings(), and ~QmitkNDIAuroraWidget().
|
static |
Definition at line 34 of file QmitkNDIAuroraWidget.h.