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 <QmitkToFConnectionWidget.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 | ToFCameraSelected (const QString selectedText) |
signal that is emitted when a ToF camera is selected More... | |
void | KinectAcquisitionModeChanged () |
void | ChangeCoronalWindowSelection (int) |
Public Member Functions | |
QmitkToFConnectionWidget (QWidget *p=nullptr, Qt::WindowFlags f1=nullptr) | |
~QmitkToFConnectionWidget () override | |
virtual void | CreateQtPartControl (QWidget *parent) |
virtual void | CreateConnections () |
mitk::ToFImageGrabber::Pointer | GetToFImageGrabber () |
returns the ToFImageGrabber which was configured after selecting a camera / player More... | |
QString | GetSelectedCameraName () |
return the name of the currently selected camera More... | |
void | ConnectCamera () |
invokes the call of OnConnectCamera() More... | |
Static Public Attributes | |
static const std::string | VIEW_ID |
Protected Slots | |
void | OnConnectCamera () |
slot called when the "Connect Camera" button was pressed According to the selection in the camera combo box, the widget provides the desired instance of the ToFImageGrabber More... | |
void | OnSelectCamera () |
slot updating the GUI elements after the selection of the camera combo box has changed More... | |
Protected Attributes | |
Ui::QmitkToFConnectionWidgetControls2 * | m_Controls |
member holding the UI elements of this widget More... | |
mitk::ToFImageGrabber::Pointer | 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... | |
QString | m_SelectedCameraName |
member holding the name of the currently selected camera 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 QmitkToFConnectionWidget.h.
QmitkToFConnectionWidget::QmitkToFConnectionWidget | ( | QWidget * | p = nullptr , |
Qt::WindowFlags | f1 = nullptr |
||
) |
Definition at line 33 of file QmitkToFConnectionWidget.cpp.
References CreateQtPartControl(), m_ToFImageGrabber, and mitk::ToFImageGrabber::New().
|
override |
Definition at line 45 of file QmitkToFConnectionWidget.cpp.
|
signal |
void QmitkToFConnectionWidget::ConnectCamera | ( | ) |
invokes the call of OnConnectCamera()
Definition at line 390 of file QmitkToFConnectionWidget.cpp.
References m_Controls.
|
virtual |
Definition at line 68 of file QmitkToFConnectionWidget.cpp.
References KinectAcquisitionModeChanged(), m_Controls, OnConnectCamera(), and OnSelectCamera().
Referenced by CreateQtPartControl().
|
virtual |
Definition at line 50 of file QmitkToFConnectionWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkToFConnectionWidget().
|
inline |
return the name of the currently selected camera
Definition at line 59 of file QmitkToFConnectionWidget.h.
mitk::ToFImageGrabber::Pointer QmitkToFConnectionWidget::GetToFImageGrabber | ( | ) |
returns the ToFImageGrabber which was configured after selecting a camera / player
Definition at line 84 of file QmitkToFConnectionWidget.cpp.
References m_ToFImageGrabber.
|
signal |
Referenced by CreateConnections().
|
protectedslot |
slot called when the "Connect Camera" button was pressed According to the selection in the camera combo box, the widget provides the desired instance of the ToFImageGrabber
Definition at line 129 of file QmitkToFConnectionWidget.cpp.
References m_Controls, m_ToFImageGrabber, MITK_ERROR, MITK_WARN, mitk::CameraIntrinsicsProperty::New(), mitk::CameraIntrinsics::New(), OnSelectCamera(), ToFCameraConnected(), ToFCameraDisconnected(), and ToFCameraSelected().
Referenced by CreateConnections().
|
protectedslot |
slot updating the GUI elements after the selection of the camera combo box has changed
Definition at line 90 of file QmitkToFConnectionWidget.cpp.
References m_Controls, and m_SelectedCameraName.
Referenced by CreateConnections(), and OnConnectCamera().
|
signal |
This signal is sent if the user has connected the TOF camera. The ToFImageGrabber is now availiable if the method GetToFImageGrabber() is called.
Referenced by OnConnectCamera().
|
signal |
This signal is sent if the user has disconnect the TOF camera.
Referenced by OnConnectCamera().
|
signal |
signal that is emitted when a ToF camera is selected
Referenced by OnConnectCamera().
|
protected |
member holding the UI elements of this widget
Definition at line 104 of file QmitkToFConnectionWidget.h.
Referenced by ConnectCamera(), CreateConnections(), CreateQtPartControl(), OnConnectCamera(), and OnSelectCamera().
|
protected |
member for the current integration time of the ToF device
Definition at line 108 of file QmitkToFConnectionWidget.h.
|
protected |
member for the current modulation frequency of the ToF device
Definition at line 109 of file QmitkToFConnectionWidget.h.
|
protected |
member holding the name of the currently selected camera
Definition at line 110 of file QmitkToFConnectionWidget.h.
Referenced by OnSelectCamera().
|
protected |
member holding the current ToFImageGrabber
Definition at line 106 of file QmitkToFConnectionWidget.h.
Referenced by GetToFImageGrabber(), OnConnectCamera(), and QmitkToFConnectionWidget().
|
static |
Definition at line 40 of file QmitkToFConnectionWidget.h.