MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
OpenIGTLinkProviderExample.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 OpenIGTLinkProviderExample_h
15#define OpenIGTLinkProviderExample_h
16
17#include <berryISelectionListener.h>
18
19#include <QmitkAbstractView.h>
21
22#include "ui_OpenIGTLinkProviderExampleControls.h"
23#include "mitkIGTLServer.h"
28
29#include "qtimer.h"
30
39class OpenIGTLinkProviderExample : public QmitkAbstractView
40{
41 // this is needed for all Qt objects that should have a Qt meta-object
42 // (everything that derives from QObject and wants to have signal/slots)
43 Q_OBJECT
44
45 public:
47
48 static const std::string VIEW_ID;
49
50 protected slots:
51
52 void Start();
53 void OnOpenFile();
55
56
57 protected:
58
59 void CreateQtPartControl(QWidget *parent) override;
60
61 void SetFocus() override;
62
63 void CreatePipeline();
64 void DestroyPipeline();
65
66 void ResizeBoundingBox();
67
68 Ui::OpenIGTLinkProviderExampleControls m_Controls;
69 mitk::IGTLServer::Pointer m_IGTLServer;
70 mitk::IGTLMessageProvider::Pointer m_IGTLMessageProvider;
71 mitk::NavigationDataToIGTLMessageFilter::Pointer m_NavDataToIGTLMsgFilter;
72 mitk::NavigationDataSequentialPlayer::Pointer m_NavDataPlayer;
73 mitk::NavigationDataObjectVisualizationFilter::Pointer m_NavDataVisualizer;
74 QList<mitk::DataNode::Pointer> m_DemoNodes;
75 mitk::NavigationDataSet::Pointer m_NavDataSet;
77
79};
80
81#endif // OpenIGTLinkProviderExample_h
OpenIGTLinkProviderExample.
mitk::IGTLServer::Pointer m_IGTLServer
void ResizeBoundingBox()
To initialize the scene to the bounding box of all visible objects.
mitk::IGTLMessageProvider::Pointer m_IGTLMessageProvider
QList< mitk::DataNode::Pointer > m_DemoNodes
mitk::NavigationDataSequentialPlayer::Pointer m_NavDataPlayer
QmitkIGTLStreamingConnector m_StreamingConnector
mitk::NavigationDataToIGTLMessageFilter::Pointer m_NavDataToIGTLMsgFilter
Ui::OpenIGTLinkProviderExampleControls m_Controls
void CreateQtPartControl(QWidget *parent) override
mitk::NavigationDataObjectVisualizationFilter::Pointer m_NavDataVisualizer
mitk::NavigationDataSet::Pointer m_NavDataSet
This class is used to stream messages from a IGTL message source into the sending queue of a message ...