MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
QmitkToFConnectionWidget Class Reference

Widget allowing to connect to different ToF / range cameras (located in module ToFProcessing) More...

#include <QmitkToFConnectionWidget.h>

Inheritance diagram for QmitkToFConnectionWidget:

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.
 
void ToFCameraDisconnected ()
 This signal is sent if the user has disconnect the TOF camera.
 
void ToFCameraSelected (const QString selectedText)
 signal that is emitted when a ToF camera is selected
 
void KinectAcquisitionModeChanged ()
 
void ChangeCoronalWindowSelection (int)
 

Public Member Functions

 QmitkToFConnectionWidget (QWidget *p=nullptr, Qt::WindowFlags f1={})
 
 ~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
 
QString GetSelectedCameraName ()
 return the name of the currently selected camera
 
void ConnectCamera ()
 invokes the call of OnConnectCamera()
 

Static Public Attributes

static const std::string VIEW_ID = "org.mitk.views.qmitktofconnectionwidget2"
 

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
 
void OnSelectCamera ()
 slot updating the GUI elements after the selection of the camera combo box has changed
 

Protected Attributes

Ui::QmitkToFConnectionWidgetControls2 * m_Controls
 member holding the UI elements of this widget
 
mitk::ToFImageGrabber::Pointer m_ToFImageGrabber
 member holding the current ToFImageGrabber
 
int m_IntegrationTime
 member for the current integration time of the ToF device
 
int m_ModulationFrequency
 member for the current modulation frequency of the ToF device
 
QString m_SelectedCameraName
 member holding the name of the currently selected camera
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QmitkToFConnectionWidget()

QmitkToFConnectionWidget::QmitkToFConnectionWidget ( QWidget * p = nullptr,
Qt::WindowFlags f1 = {} )

Definition at line 33 of file QmitkToFConnectionWidget.cpp.

◆ ~QmitkToFConnectionWidget()

QmitkToFConnectionWidget::~QmitkToFConnectionWidget ( )
override

Definition at line 45 of file QmitkToFConnectionWidget.cpp.

Member Function Documentation

◆ ChangeCoronalWindowSelection

void QmitkToFConnectionWidget::ChangeCoronalWindowSelection ( int )
signal

◆ ConnectCamera()

void QmitkToFConnectionWidget::ConnectCamera ( )

invokes the call of OnConnectCamera()

Definition at line 390 of file QmitkToFConnectionWidget.cpp.

◆ CreateConnections()

void QmitkToFConnectionWidget::CreateConnections ( )
virtual

Definition at line 68 of file QmitkToFConnectionWidget.cpp.

◆ CreateQtPartControl()

void QmitkToFConnectionWidget::CreateQtPartControl ( QWidget * parent)
virtual

Definition at line 50 of file QmitkToFConnectionWidget.cpp.

◆ GetSelectedCameraName()

QString QmitkToFConnectionWidget::GetSelectedCameraName ( )
inline

return the name of the currently selected camera

Definition at line 59 of file QmitkToFConnectionWidget.h.

◆ GetToFImageGrabber()

mitk::ToFImageGrabber::Pointer QmitkToFConnectionWidget::GetToFImageGrabber ( )

returns the ToFImageGrabber which was configured after selecting a camera / player

Returns
ToFImageGrabber currently used by the widget

Definition at line 84 of file QmitkToFConnectionWidget.cpp.

◆ KinectAcquisitionModeChanged

void QmitkToFConnectionWidget::KinectAcquisitionModeChanged ( )
signal

◆ OnConnectCamera

void QmitkToFConnectionWidget::OnConnectCamera ( )
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.

◆ OnSelectCamera

void QmitkToFConnectionWidget::OnSelectCamera ( )
protectedslot

slot updating the GUI elements after the selection of the camera combo box has changed

Definition at line 90 of file QmitkToFConnectionWidget.cpp.

◆ ToFCameraConnected

void QmitkToFConnectionWidget::ToFCameraConnected ( )
signal

This signal is sent if the user has connected the TOF camera. The ToFImageGrabber is now availiable if the method GetToFImageGrabber() is called.

◆ ToFCameraDisconnected

void QmitkToFConnectionWidget::ToFCameraDisconnected ( )
signal

This signal is sent if the user has disconnect the TOF camera.

◆ ToFCameraSelected

void QmitkToFConnectionWidget::ToFCameraSelected ( const QString selectedText)
signal

signal that is emitted when a ToF camera is selected

Member Data Documentation

◆ m_Controls

Ui::QmitkToFConnectionWidgetControls2* QmitkToFConnectionWidget::m_Controls
protected

member holding the UI elements of this widget

Definition at line 104 of file QmitkToFConnectionWidget.h.

◆ m_IntegrationTime

int QmitkToFConnectionWidget::m_IntegrationTime
protected

member for the current integration time of the ToF device

Definition at line 108 of file QmitkToFConnectionWidget.h.

◆ m_ModulationFrequency

int QmitkToFConnectionWidget::m_ModulationFrequency
protected

member for the current modulation frequency of the ToF device

Definition at line 109 of file QmitkToFConnectionWidget.h.

◆ m_SelectedCameraName

QString QmitkToFConnectionWidget::m_SelectedCameraName
protected

member holding the name of the currently selected camera

Definition at line 110 of file QmitkToFConnectionWidget.h.

◆ m_ToFImageGrabber

mitk::ToFImageGrabber::Pointer QmitkToFConnectionWidget::m_ToFImageGrabber
protected

member holding the current ToFImageGrabber

Definition at line 106 of file QmitkToFConnectionWidget.h.

◆ VIEW_ID

const std::string QmitkToFConnectionWidget::VIEW_ID = "org.mitk.views.qmitktofconnectionwidget2"
static

Definition at line 40 of file QmitkToFConnectionWidget.h.


The documentation for this class was generated from the following files: