MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkOpenIGTLinkManager.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
14#ifndef QmitkOpenIGTLinkManager_h
15#define QmitkOpenIGTLinkManager_h
16
17#include <berryISelectionListener.h>
18
19#include <QmitkAbstractView.h>
20
21#include "ui_QmitkOpenIGTLinkManagerControls.h"
22#include "mitkIGTLClient.h"
24
33class QmitkOpenIGTLinkManager : public QmitkAbstractView
34{
35 // this is needed for all Qt objects that should have a Qt meta-object
36 // (everything that derives from QObject and wants to have signal/slots)
37 Q_OBJECT
38
39 public:
40
41 static const std::string VIEW_ID;
42
44 ~QmitkOpenIGTLinkManager() override;
45
46 public slots:
47 void NewSourceByWidget(mitk::IGTLDeviceSource::Pointer source, std::string);
48 void SourceSelected(mitk::IGTLDeviceSource::Pointer source);
49
50 protected:
51
52 void CreateQtPartControl(QWidget *parent) override;
53
54 void SetFocus() override;
55
58
59 Ui::QmitkOpenIGTLinkManagerControls m_Controls;
60
64 std::vector<mitk::IGTLDeviceSource::Pointer> m_AllSourcesHandledByThisWidget;
65
66 mitk::IGTLDevice::Pointer m_CurrentIGTLDevice;
67};
68
69#endif
void NewSourceByWidget(mitk::IGTLDeviceSource::Pointer source, std::string)
static const std::string VIEW_ID
std::vector< mitk::IGTLDeviceSource::Pointer > m_AllSourcesHandledByThisWidget
void CreateQtPartControl(QWidget *parent) override
void SourceSelected(mitk::IGTLDeviceSource::Pointer source)
Ui::QmitkOpenIGTLinkManagerControls m_Controls
mitk::IGTLDevice::Pointer m_CurrentIGTLDevice