Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Implementation of a configuration widget for Micron Tracking Devices. More...
#include <QmitkMicronTrackerWidget.h>
Public Member Functions | |
QmitkMicronTrackerWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
~QmitkMicronTrackerWidget () | |
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... | |
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 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... | |
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 |
Static Public Attributes | |
static const std::string | VIEW_ID |
Static Public Attributes inherited from QmitkAbstractTrackingDeviceWidget | |
static const std::string | VIEW_ID |
Protected Slots | |
void | SetMTCalibrationFileClicked () |
Protected Slots inherited from QmitkAbstractTrackingDeviceWidget | |
void | TestConnectionFinished (bool connected, QString output) |
void | TestConnection () |
Protected Member Functions | |
virtual QmitkMicronTrackerWidget * | 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 QmitkAbstractTrackingDeviceWidget | |
PERSISTENCE_GET_SERVICE_METHOD_MACRO void | InitializeSuperclassWidget () |
Protected Attributes | |
std::string | m_MTCalibrationFile |
Ui::QmitkMicronTrackerWidget * | m_Controls |
Protected Attributes inherited from QmitkAbstractTrackingDeviceWidget | |
QmitkTrackingDeviceConfigurationWidgetConnectionWorker * | m_TestConnectionWorker |
QThread * | m_TestConnectionWorkerThread |
Additional Inherited Members | |
Signals inherited from QmitkAbstractTrackingDeviceWidget | |
void | ConnectionTested (bool connected, QString output) |
Public Attributes inherited from QmitkAbstractTrackingDeviceWidget | |
std::string | m_ErrorMessage |
current problem description More... | |
Implementation of a configuration widget for Micron Tracking Devices.
Documentation:
Definition at line 30 of file QmitkMicronTrackerWidget.h.
QmitkMicronTrackerWidget::QmitkMicronTrackerWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 30 of file QmitkMicronTrackerWidget.cpp.
Referenced by Clone().
QmitkMicronTrackerWidget::~QmitkMicronTrackerWidget | ( | ) |
Definition at line 44 of file QmitkMicronTrackerWidget.cpp.
References m_Controls.
|
virtual |
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
Definition at line 73 of file QmitkMicronTrackerWidget.cpp.
References m_Controls.
Referenced by ConstructTrackingDevice().
|
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 160 of file QmitkMicronTrackerWidget.cpp.
References Initialize(), m_Controls, m_MTCalibrationFile, and QmitkMicronTrackerWidget().
|
virtual |
Implements QmitkAbstractTrackingDeviceWidget.
Definition at line 79 of file QmitkMicronTrackerWidget.cpp.
References AddOutput(), m_Controls, m_MTCalibrationFile, and mitk::ClaronTrackingDevice::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 QmitkAbstractTrackingDeviceWidget.
Definition at line 36 of file QmitkMicronTrackerWidget.cpp.
References QmitkAbstractTrackingDeviceWidget::InitializeSuperclassWidget(), and m_MTCalibrationFile.
Referenced by Clone().
|
virtual |
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)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
Definition at line 143 of file QmitkMicronTrackerWidget.cpp.
References mitk::ClaronTrackingDevice::New().
|
virtual |
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
Definition at line 117 of file QmitkMicronTrackerWidget.cpp.
References GetPersistenceService(), m_Controls, m_MTCalibrationFile, and MITK_ERROR.
|
virtual |
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
Definition at line 68 of file QmitkMicronTrackerWidget.cpp.
References m_Controls.
|
protectedslot |
Definition at line 148 of file QmitkMicronTrackerWidget.cpp.
References filename, m_Controls, and m_MTCalibrationFile.
|
virtual |
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
Definition at line 100 of file QmitkMicronTrackerWidget.cpp.
References GetPersistenceService(), and m_MTCalibrationFile.
|
protected |
Definition at line 60 of file QmitkMicronTrackerWidget.h.
Referenced by AddOutput(), Clone(), ConstructTrackingDevice(), LoadUISettings(), ResetOutput(), SetMTCalibrationFileClicked(), and ~QmitkMicronTrackerWidget().
|
protected |
Definition at line 58 of file QmitkMicronTrackerWidget.h.
Referenced by Clone(), ConstructTrackingDevice(), Initialize(), LoadUISettings(), SetMTCalibrationFileClicked(), and StoreUISettings().
|
static |
Definition at line 35 of file QmitkMicronTrackerWidget.h.