MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkToFPMDParameterWidget.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 QmitkToFPMDParameterWidget_h
14#define QmitkToFPMDParameterWidget_h
15
16#include <MitkToFUIExports.h>
17#include "ui_QmitkToFPMDParameterWidgetControls.h"
18
19//QT headers
20#include <QWidget>
21
22//mitk headers
23#include "mitkToFImageGrabber.h"
24
32class MITKTOFUI_EXPORT QmitkToFPMDParameterWidget :public QWidget
33{
34
35 //this is needed for all Qt objects that should have a MOC object (everything that derives from QObject)
36 Q_OBJECT
37
38 public:
39
40 static const std::string VIEW_ID;
41
42 QmitkToFPMDParameterWidget(QWidget* p = nullptr, Qt::WindowFlags f1 = {});
44
45 /* @brief This method is part of the widget an needs not to be called seperately. */
46 virtual void CreateQtPartControl(QWidget *parent);
47 /* @brief This method is part of the widget an needs not to be called seperately. (Creation of the connections of main and control widget.)*/
48 virtual void CreateConnections();
49
54 mitk::ToFImageGrabber* GetToFImageGrabber();
55
59 void SetToFImageGrabber(mitk::ToFImageGrabber* aToFImageGrabber);
60
64 void ActivateAllParameters();
65
66 signals:
67
89
90 protected slots:
91
95 void OnChangeIntegrationTimeSpinBox(int value);
99 void OnChangeModulationFrequencySpinBox(int value);
100
101 protected:
102
103 Ui::QmitkToFPMDParameterWidgetControls* m_Controls;
104
106
109
110 private:
111
112};
113
114#endif
Widget allowing to connect to different ToF / range cameras (located in module ToFProcessing)
void ToFCameraStop()
signal that is emitted when the ToF camera is stopped
void ToFCameraDisconnected()
This signal is sent if the user has disconnect the TOF camera.
int m_IntegrationTime
member for the current integration time of the ToF device
int m_ModulationFrequency
member for the current modulation frequency of the ToF device
void ToFCameraConnected()
This signal is sent if the user has connected the TOF camera. The ToFImageGrabber is now availiable i...
mitk::ToFImageGrabber * m_ToFImageGrabber
member holding the current ToFImageGrabber
void ToFCameraStart()
signal that is emitted when the ToF camera is started
Ui::QmitkToFPMDParameterWidgetControls * m_Controls
member holding the UI elements of this widget
void ToFCameraSelected(int)
signal that is emitted when a ToF camera is selected in the combo box
Image source providing ToF images. Interface for filters provided in ToFProcessing module.