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 <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=0, Qt::WindowFlags f1=0) | |
virtual | ~QmitkToFConnectionWidget () |
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 36 of file QmitkToFConnectionWidget.h.
QmitkToFConnectionWidget::QmitkToFConnectionWidget | ( | QWidget * | p = 0 , |
Qt::WindowFlags | f1 = 0 |
||
) |
Definition at line 37 of file QmitkToFConnectionWidget.cpp.
References CreateQtPartControl(), m_ToFImageGrabber, and mitk::ToFImageGrabber::New().
|
virtual |
Definition at line 49 of file QmitkToFConnectionWidget.cpp.
|
signal |
void QmitkToFConnectionWidget::ConnectCamera | ( | ) |
invokes the call of OnConnectCamera()
Definition at line 395 of file QmitkToFConnectionWidget.cpp.
References m_Controls.
|
virtual |
Definition at line 72 of file QmitkToFConnectionWidget.cpp.
References KinectAcquisitionModeChanged(), m_Controls, OnConnectCamera(), and OnSelectCamera().
Referenced by CreateQtPartControl().
|
virtual |
Definition at line 54 of file QmitkToFConnectionWidget.cpp.
References CreateConnections(), and m_Controls.
Referenced by QmitkToFConnectionWidget().
|
inline |
return the name of the currently selected camera
Definition at line 63 of file QmitkToFConnectionWidget.h.
mitk::ToFImageGrabber::Pointer QmitkToFConnectionWidget::GetToFImageGrabber | ( | ) |
returns the ToFImageGrabber which was configured after selecting a camera / player
Definition at line 88 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 134 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 94 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 108 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 112 of file QmitkToFConnectionWidget.h.
|
protected |
member for the current modulation frequency of the ToF device
Definition at line 113 of file QmitkToFConnectionWidget.h.
|
protected |
member holding the name of the currently selected camera
Definition at line 114 of file QmitkToFConnectionWidget.h.
Referenced by OnSelectCamera().
|
protected |
member holding the current ToFImageGrabber
Definition at line 110 of file QmitkToFConnectionWidget.h.
Referenced by GetToFImageGrabber(), OnConnectCamera(), and QmitkToFConnectionWidget().
|
static |
Definition at line 44 of file QmitkToFConnectionWidget.h.