Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkStructureSensorParameterWidget.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found 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 
32 class 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 = nullptr);
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 
82 };
83 
84 #endif
QmitkStructureSensorParameterWidget
Widget for configuring the Structure Sensor device (Occipital, Inc.)
Definition: QmitkStructureSensorParameterWidget.h:32
mitk::ToFImageGrabber
Image source providing ToF images. Interface for filters provided in ToFProcessing module.
Definition: mitkToFImageGrabber.h:34
QmitkStructureSensorParameterWidget::VIEW_ID
static const std::string VIEW_ID
Definition: QmitkStructureSensorParameterWidget.h:39
itk::SmartPointer< Self >
QmitkStructureSensorParameterWidget::m_ToFImageGrabber
mitk::ToFImageGrabber::Pointer m_ToFImageGrabber
image grabber object to be configured by the widget
Definition: QmitkStructureSensorParameterWidget.h:81
QmitkStructureSensorParameterWidget::m_Controls
Ui::QmitkStructureSensorParameterWidgetControls * m_Controls
member holding the UI elements of this widget
Definition: QmitkStructureSensorParameterWidget.h:79
mitkToFImageGrabber.h