Medical Imaging Interaction Toolkit
2016.11.0
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=0, Qt::WindowFlags f1=0) | |
virtual | ~QmitkToFPMDParameterWidget () |
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 36 of file QmitkToFPMDParameterWidget.h.
QmitkToFPMDParameterWidget::QmitkToFPMDParameterWidget | ( | QWidget * | p = 0 , |
Qt::WindowFlags | f1 = 0 |
||
) |
Definition at line 30 of file QmitkToFPMDParameterWidget.cpp.
References CreateQtPartControl(), m_Controls, m_IntegrationTime, m_ModulationFrequency, and m_ToFImageGrabber.
|
virtual |
Definition at line 40 of file QmitkToFPMDParameterWidget.cpp.
void QmitkToFPMDParameterWidget::ActivateAllParameters | ( | ) |
activate camera settings according to the parameters from GUI
Definition at line 74 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 55 of file QmitkToFPMDParameterWidget.cpp.
References m_Controls, OnChangeIntegrationTimeSpinBox(), and OnChangeModulationFrequencySpinBox().
Referenced by CreateQtPartControl().
|
virtual |
Definition at line 44 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 64 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 100 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 124 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 69 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 107 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 111 of file QmitkToFPMDParameterWidget.h.
Referenced by ActivateAllParameters(), OnChangeIntegrationTimeSpinBox(), and QmitkToFPMDParameterWidget().
|
protected |
member for the current modulation frequency of the ToF device
Definition at line 112 of file QmitkToFPMDParameterWidget.h.
Referenced by ActivateAllParameters(), OnChangeModulationFrequencySpinBox(), and QmitkToFPMDParameterWidget().
|
protected |
member holding the current ToFImageGrabber
Definition at line 109 of file QmitkToFPMDParameterWidget.h.
Referenced by ActivateAllParameters(), GetToFImageGrabber(), OnChangeIntegrationTimeSpinBox(), OnChangeModulationFrequencySpinBox(), QmitkToFPMDParameterWidget(), and SetToFImageGrabber().
|
static |
Definition at line 44 of file QmitkToFPMDParameterWidget.h.