|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Widget allowing to connect to different ToF / range cameras (located in module ToFProcessing) More...
#include <QmitkToFPMDParameterWidget.h>


Signals | |
| void | ToFCameraConnected () |
| This signal is sent if the user has connected the TOF camera. The ToFImageGrabber is now availiable if the method GetToFImageGrabber() is called. More... | |
| void | ToFCameraDisconnected () |
| This signal is sent if the user has disconnect the TOF camera. More... | |
| void | ToFCameraStart () |
| signal that is emitted when the ToF camera is started More... | |
| void | ToFCameraStop () |
| signal that is emitted when the ToF camera is stopped More... | |
| void | ToFCameraSelected (int) |
| signal that is emitted when a ToF camera is selected in the combo box More... | |
Public Member Functions | |
| QmitkToFPMDParameterWidget (QWidget *p=nullptr, Qt::WindowFlags f1=nullptr) | |
| ~QmitkToFPMDParameterWidget () override | |
| virtual void | CreateQtPartControl (QWidget *parent) |
| virtual void | CreateConnections () |
| mitk::ToFImageGrabber * | GetToFImageGrabber () |
| returns the ToFImageGrabber which was configured after selecting a camera / player More... | |
| void | SetToFImageGrabber (mitk::ToFImageGrabber *aToFImageGrabber) |
| sets the ToFImageGrabber which was configured after selecting a camera / player More... | |
| void | ActivateAllParameters () |
| activate camera settings according to the parameters from GUI More... | |
Static Public Attributes | |
| static const std::string | VIEW_ID |
Protected Slots | |
| void | OnChangeIntegrationTimeSpinBox (int value) |
| slot updating the member m_IntegrationTime and the parameter "integration time" of the current ToFImageGrabber More... | |
| void | OnChangeModulationFrequencySpinBox (int value) |
| slot updating the member m_ModulationFrequency and the parameter "modulation frequency" of the current ToFImageGrabber More... | |
Protected Attributes | |
| Ui::QmitkToFPMDParameterWidgetControls * | m_Controls |
| member holding the UI elements of this widget More... | |
| mitk::ToFImageGrabber * | m_ToFImageGrabber |
| member holding the current ToFImageGrabber More... | |
| int | m_IntegrationTime |
| member for the current integration time of the ToF device More... | |
| int | m_ModulationFrequency |
| member for the current modulation frequency of the ToF device More... | |
Widget allowing to connect to different ToF / range cameras (located in module ToFProcessing)
The widget basically allows to connect/disconnect to different ToF cameras
Definition at line 32 of file QmitkToFPMDParameterWidget.h.
| QmitkToFPMDParameterWidget::QmitkToFPMDParameterWidget | ( | QWidget * | p = nullptr, |
| Qt::WindowFlags | f1 = nullptr |
||
| ) |
Definition at line 26 of file QmitkToFPMDParameterWidget.cpp.
References CreateQtPartControl(), m_Controls, m_IntegrationTime, m_ModulationFrequency, and m_ToFImageGrabber.
|
override |
Definition at line 36 of file QmitkToFPMDParameterWidget.cpp.
| void QmitkToFPMDParameterWidget::ActivateAllParameters | ( | ) |
activate camera settings according to the parameters from GUI
Definition at line 70 of file QmitkToFPMDParameterWidget.cpp.
References mitk::ToFImageGrabber::GetIntegrationTime(), mitk::ToFImageGrabber::GetModulationFrequency(), m_Controls, m_IntegrationTime, m_ModulationFrequency, m_ToFImageGrabber, mitk::ToFImageGrabber::SetBoolProperty(), mitk::ToFImageGrabber::SetIntegrationTime(), and mitk::ToFImageGrabber::SetModulationFrequency().
|
virtual |
Definition at line 51 of file QmitkToFPMDParameterWidget.cpp.
References m_Controls, OnChangeIntegrationTimeSpinBox(), and OnChangeModulationFrequencySpinBox().
Referenced by CreateQtPartControl().
|
virtual |
Definition at line 40 of file QmitkToFPMDParameterWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkToFPMDParameterWidget().
| mitk::ToFImageGrabber * QmitkToFPMDParameterWidget::GetToFImageGrabber | ( | ) |
returns the ToFImageGrabber which was configured after selecting a camera / player
Definition at line 60 of file QmitkToFPMDParameterWidget.cpp.
References m_ToFImageGrabber.
|
protectedslot |
slot updating the member m_IntegrationTime and the parameter "integration time" of the current ToFImageGrabber
Definition at line 96 of file QmitkToFPMDParameterWidget.cpp.
References mitk::ToFImageGrabber::IsCameraActive(), m_Controls, m_IntegrationTime, m_ToFImageGrabber, mitk::ToFImageGrabber::SetIntegrationTime(), mitk::ToFImageGrabber::StartCamera(), and mitk::ToFImageGrabber::StopCamera().
Referenced by CreateConnections().
|
protectedslot |
slot updating the member m_ModulationFrequency and the parameter "modulation frequency" of the current ToFImageGrabber
Definition at line 120 of file QmitkToFPMDParameterWidget.cpp.
References mitk::ToFImageGrabber::IsCameraActive(), m_Controls, m_ModulationFrequency, m_ToFImageGrabber, mitk::ToFImageGrabber::SetModulationFrequency(), mitk::ToFImageGrabber::StartCamera(), and mitk::ToFImageGrabber::StopCamera().
Referenced by CreateConnections().
| void QmitkToFPMDParameterWidget::SetToFImageGrabber | ( | mitk::ToFImageGrabber * | aToFImageGrabber | ) |
sets the ToFImageGrabber which was configured after selecting a camera / player
Definition at line 65 of file QmitkToFPMDParameterWidget.cpp.
References m_ToFImageGrabber.
|
signal |
This signal is sent if the user has connected the TOF camera. The ToFImageGrabber is now availiable if the method GetToFImageGrabber() is called.
|
signal |
This signal is sent if the user has disconnect the TOF camera.
|
signal |
signal that is emitted when a ToF camera is selected in the combo box
|
signal |
signal that is emitted when the ToF camera is started
|
signal |
signal that is emitted when the ToF camera is stopped
|
protected |
member holding the UI elements of this widget
Definition at line 103 of file QmitkToFPMDParameterWidget.h.
Referenced by ActivateAllParameters(), CreateConnections(), CreateQtPartControl(), OnChangeIntegrationTimeSpinBox(), OnChangeModulationFrequencySpinBox(), and QmitkToFPMDParameterWidget().
|
protected |
member for the current integration time of the ToF device
Definition at line 107 of file QmitkToFPMDParameterWidget.h.
Referenced by ActivateAllParameters(), OnChangeIntegrationTimeSpinBox(), and QmitkToFPMDParameterWidget().
|
protected |
member for the current modulation frequency of the ToF device
Definition at line 108 of file QmitkToFPMDParameterWidget.h.
Referenced by ActivateAllParameters(), OnChangeModulationFrequencySpinBox(), and QmitkToFPMDParameterWidget().
|
protected |
member holding the current ToFImageGrabber
Definition at line 105 of file QmitkToFPMDParameterWidget.h.
Referenced by ActivateAllParameters(), GetToFImageGrabber(), OnChangeIntegrationTimeSpinBox(), OnChangeModulationFrequencySpinBox(), QmitkToFPMDParameterWidget(), and SetToFImageGrabber().
|
static |
Definition at line 40 of file QmitkToFPMDParameterWidget.h.