MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkOpenIGTLinkWidget.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef QmitkOpenIGTLinkWidget_h
14#define QmitkOpenIGTLinkWidget_h
15
16#include "ui_QmitkOpenIGTLinkWidget.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
29public:
30 static const std::string VIEW_ID;
31
32 QmitkOpenIGTLinkWidget(QWidget* parent = nullptr, Qt::WindowFlags f = {});
33 ~QmitkOpenIGTLinkWidget() override;
34
35 void Initialize() override;
36
37signals:
38
39 protected slots :
40
41private:
42 void CreateQtPartControl(QWidget *parent);
43protected:
44 QmitkOpenIGTLinkWidget* Clone(QWidget* parent) const override;
45
46 Ui::QmitkOpenIGTLinkWidget* m_Controls;
47public:
48 mitk::TrackingDevice::Pointer GetTrackingDevice() override;
49};
50#endif
Abstract class to configure a tracking device. Inherited widgets should be registered in the Microser...
virtual mitk::TrackingDevice::Pointer GetTrackingDevice()=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 ...
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 to use an Open IGT Link connection to track any device.
Ui::QmitkOpenIGTLinkWidget * m_Controls
static const std::string VIEW_ID