MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkStructureSensorParameterWidget.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 QmitkStructureSensorParameterWidget_h
14#define QmitkStructureSensorParameterWidget_h
15
16#include "MitkToFUIExports.h"
17#include "ui_QmitkStructureSensorParameterWidgetControls.h"
18
19#include <mitkToFImageGrabber.h>
20
21#include <QWidget>
22
32class MITKTOFUI_EXPORT QmitkStructureSensorParameterWidget :public QWidget
33{
34 //this is needed for all Qt objects that should have a MOC object (everything that derives from QObject)
35 Q_OBJECT
36
37 public:
38
39 static const std::string VIEW_ID;
40
41 QmitkStructureSensorParameterWidget(QWidget* p = nullptr, Qt::WindowFlags f = {});
43
44 /* @brief This method is part of the widget an needs not to be called seperately. */
45 virtual void CreateQtPartControl(QWidget *parent);
46 /* @brief This method is part of the widget an needs not to be called seperately. (Creation of the connections of main and control widget.)*/
47 virtual void CreateConnections();
48
53 mitk::ToFImageGrabber* GetToFImageGrabber();
54
58 void SetToFImageGrabber(mitk::ToFImageGrabber* aToFImageGrabber);
59
63 void ActivateAllParameters();
64
69 int GetSelectedResolution();
70
71 protected slots:
75 void OnResolutionChanged();
76
77 protected:
78
79 Ui::QmitkStructureSensorParameterWidgetControls* m_Controls;
80
81 mitk::ToFImageGrabber::Pointer m_ToFImageGrabber;
82};
83
84#endif
Widget for configuring the Structure Sensor device (Occipital, Inc.)
mitk::ToFImageGrabber::Pointer m_ToFImageGrabber
image grabber object to be configured by the widget
Ui::QmitkStructureSensorParameterWidgetControls * m_Controls
member holding the UI elements of this widget
Image source providing ToF images. Interface for filters provided in ToFProcessing module.