Medical Imaging Interaction Toolkit  2018.4.99-c0f884b2
Medical Imaging Interaction Toolkit
QmitkNDIAuroraWidget.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkNDIAuroraWidget_H
14 #define QmitkNDIAuroraWidget_H
15 
16 #include "ui_QmitkNDIAuroraWidget.h"
18 
19 
26 {
27  Q_OBJECT // this is needed for all Qt objects that should have a MOC object (everything that derives from QObject)
28 
29 public:
30  static const std::string VIEW_ID;
31 
32  QmitkNDIAuroraWidget(QWidget* parent = nullptr, Qt::WindowFlags f = nullptr);
33  ~QmitkNDIAuroraWidget() override;
34 
35  void Initialize() override;
36 
37 private:
39  void CreateConnections();
40 
41  void CreateQtPartControl(QWidget *parent);
42 protected:
43  void ResetOutput() override;
44  void AddOutput(std::string s) override;
45  mitk::TrackingDevice::Pointer GetTrackingDevice() override;
46 
47  void StoreUISettings() override;
48  void LoadUISettings() override;
49 
50  void SetPortValueToGUI(int portValue) override;
51  void SetPortTypeToGUI(int portType) override;
52 
53  QmitkNDIAuroraWidget* Clone(QWidget* parent) const override;
54 
55  Ui::QmitkNDIAuroraWidget* m_Controls;
56 };
57 
58 #endif
virtual void StoreUISettings()
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) ...
virtual void ResetOutput()
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) ...
Ui::QmitkNDIAuroraWidget * m_Controls
void Initialize() override=0
Subclass must implement this method to return a pointer to a copy of the object. Please don't forget ...
virtual void LoadUISettings()
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) ...
static const std::string VIEW_ID
virtual void SetPortTypeToGUI(int portType)=0
virtual void SetPortValueToGUI(int portValue)=0
virtual QmitkAbstractTrackingDeviceWidget * Clone(QWidget *parent=nullptr) const =0
Subclass must implement this method to return a pointer to a copy of the object. Please don't forget ...
Abstract class of a configuration widget for NDI Devices. For implementations see NDIAuroraWidget or ...
#define MITKIGTUI_EXPORT
void AddOutput(std::string s) override=0
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) ...
Implementation of a configuration widget for NDI Aurora Devices.
virtual mitk::TrackingDevice::Pointer GetTrackingDevice()=0