Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkNDIPolarisWidget.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkNDIPolarisWidget_H
18 #define QmitkNDIPolarisWidget_H
19 
20 #include "ui_QmitkNDIPolarisWidget.h"
22 
23 
29 class MITKIGTUI_EXPORT QmitkNDIPolarisWidget : public QmitkNDIAbstractDeviceWidget
30 {
31  Q_OBJECT // this is needed for all Qt objects that should have a MOC object (everything that derives from QObject)
32 
33 public:
34  static const std::string VIEW_ID;
35 
36  QmitkNDIPolarisWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
38 
39  virtual void Initialize();
40 
41 signals:
42 
43  protected slots :
44 
45 private:
47  void CreateConnections();
48 
49  void CreateQtPartControl(QWidget *parent);
50 protected:
51 
54  mitk::IlluminationActivationRate GetPolarisFrameRate();
55 
56  Ui::QmitkNDIPolarisWidget* m_Controls;
57 
58  virtual void SetPortValueToGUI(int portValue);
59  virtual void SetPortTypeToGUI(int portType);
60 
61  virtual QmitkNDIPolarisWidget* Clone(QWidget* parent) const;
62 
63 public:
64  virtual void ResetOutput();
65  virtual void AddOutput(std::string s);
67 
68  virtual void StoreUISettings();
69  virtual void LoadUISettings();
70 };
71 #endif
virtual void Initialize()=0
Subclass must implement this method to return a pointer to a copy of the object. Please don't forget ...
Implementation of a configuration widget for NDI Polaris Devices.
itk::SmartPointer< Self > Pointer
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) ...
static const std::string VIEW_ID
IlluminationActivationRate
activation rate of IR illuminator for NDI Polaris tracking device
Ui::QmitkNDIPolarisWidget * m_Controls
virtual void LoadUISettings()
Optional method to store and load settings of your widget (see QmitkNDIPolarisWidget) ...
virtual void SetPortTypeToGUI(int portType)=0
virtual void SetPortValueToGUI(int portValue)=0
virtual QmitkAbstractTrackingDeviceWidget * Clone(QWidget *parent=0) 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 ...
virtual mitk::TrackingDevice::Pointer ConstructTrackingDevice()=0
virtual void AddOutput(std::string s)=0
Optional method to add output to a small screen in the trackingToolbox (see QmitkNDIPolarisWidget) ...