Medical Imaging Interaction Toolkit  2018.4.99-c0f884b2
Medical Imaging Interaction Toolkit
QmitkVirtualTrackerWidget.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 QmitkVirtualTrackerWidget_H
14 #define QmitkVirtualTrackerWidget_H
15 
16 #include "ui_QmitkVirtualTrackerWidget.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  QmitkVirtualTrackerWidget(QWidget* parent = nullptr, Qt::WindowFlags f = nullptr);
33  ~QmitkVirtualTrackerWidget() override;
34 
35  void Initialize() override;
36 
37 signals:
38 
39  protected slots :
40  /* @brief Enables or disables the Gaussian Noise for the VirtualTrackingDevice dependent on the State of the according Checkbox */
41  void EnableGaussianNoise();
42 
43 private:
44 
46  void CreateConnections();
47 
48  void CreateQtPartControl(QWidget *parent);
49 protected:
50  QmitkVirtualTrackerWidget* Clone(QWidget* parent) const override;
51 
52  Ui::QmitkVirtualTrackerWidget* m_Controls;
53 
54 public:
55  mitk::TrackingDevice::Pointer GetTrackingDevice() override;
56 };
57 #endif
virtual void Initialize()=0
Subclass must implement this method to return a pointer to a copy of the object. Please don't forget ...
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 ...
static const std::string VIEW_ID
Ui::QmitkVirtualTrackerWidget * m_Controls
#define MITKIGTUI_EXPORT
Abstract class to configure a tracking device. Inherited widgets should be registered in the Microser...
Implementation of a configuration widget for a Vitrual Tracking Device.
virtual mitk::TrackingDevice::Pointer GetTrackingDevice()=0