Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Implementation of a configuration widget for Micron Tracking Devices. More...
#include <QmitkMicronTrackerWidget.h>
Public Member Functions | |
QmitkMicronTrackerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr) | |
~QmitkMicronTrackerWidget () override | |
void | Initialize () override |
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... | |
void | ResetOutput () override |
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) More... | |
void | AddOutput (std::string s) override |
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) More... | |
mitk::TrackingDevice::Pointer | GetTrackingDevice () override |
void | StoreUISettings () override |
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) More... | |
void | LoadUISettings () override |
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) More... | |
bool | IsDeviceInstalled () override |
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=nullptr, Qt::WindowFlags f=nullptr) | |
~QmitkAbstractTrackingDeviceWidget () override | |
QmitkAbstractTrackingDeviceWidget * | CloneForQt (QWidget *parent=nullptr) 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 void | OnConnected (bool) |
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... | |
virtual void | OnDisconnected (bool) |
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... | |
virtual void | OnStartTracking (bool) |
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... | |
virtual void | OnStopTracking (bool) |
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... | |
virtual void | OnToolStorageChanged () |
This function is called, when anything in the ToolStorage changed, e.g. AddTool or EditTool. ServiceListener is connected in the QmitkMITKIGTTrackingToolboxView. More... | |
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 | |
QmitkMicronTrackerWidget * | Clone (QWidget *parent) const override |
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 26 of file QmitkMicronTrackerWidget.h.
QmitkMicronTrackerWidget::QmitkMicronTrackerWidget | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = nullptr |
||
) |
|
override |
|
overridevirtual |
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
|
overrideprotectedvirtual |
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.
|
overridevirtual |
Implements QmitkAbstractTrackingDeviceWidget.
|
overridevirtual |
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.
|
overridevirtual |
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.
|
overridevirtual |
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
|
overridevirtual |
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
|
protectedslot |
|
overridevirtual |
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget)
Reimplemented from QmitkAbstractTrackingDeviceWidget.
|
protected |
Definition at line 56 of file QmitkMicronTrackerWidget.h.
|
protected |
Definition at line 54 of file QmitkMicronTrackerWidget.h.
|
static |
Definition at line 31 of file QmitkMicronTrackerWidget.h.