Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkToFConnectionWidget Class Reference

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

#include <QmitkToFConnectionWidget.h>

Inheritance diagram for QmitkToFConnectionWidget:
Collaboration 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. 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...
 

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 = nullptr 
)

◆ ~QmitkToFConnectionWidget()

QmitkToFConnectionWidget::~QmitkToFConnectionWidget ( )
override

Member Function Documentation

◆ ChangeCoronalWindowSelection

void QmitkToFConnectionWidget::ChangeCoronalWindowSelection ( int  )
signal

◆ ConnectCamera()

void QmitkToFConnectionWidget::ConnectCamera ( )

invokes the call of OnConnectCamera()

◆ CreateConnections()

virtual void QmitkToFConnectionWidget::CreateConnections ( )
virtual

◆ CreateQtPartControl()

virtual void QmitkToFConnectionWidget::CreateQtPartControl ( QWidget *  parent)
virtual

◆ 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

◆ 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

◆ OnSelectCamera

void QmitkToFConnectionWidget::OnSelectCamera ( )
protectedslot

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

◆ 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
static

Definition at line 40 of file QmitkToFConnectionWidget.h.


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