Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkToFMESAParameterWidget Class Reference

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

#include <QmitkToFMESAParameterWidget.h>

Inheritance diagram for QmitkToFMESAParameterWidget:
Collaboration diagram for QmitkToFMESAParameterWidget:

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

 QmitkToFMESAParameterWidget (QWidget *p=0, Qt::WindowFlags f1=0)
 
virtual ~QmitkToFMESAParameterWidget ()
 
virtual void CreateQtPartControl (QWidget *parent)
 
virtual void CreateConnections ()
 
mitk::ToFImageGrabberGetToFImageGrabber ()
 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 OnChangeModulationFrequencyComboBox (int index)
 slot updating the member m_ModulationFrequency and the parameter "modulation frequency" of the current ToFImageGrabber More...
 
void OnChangeFPNCheckBox (bool checked)
 
void OnChangeConvGrayCheckBox (bool checked)
 
void OnChangeMedianCheckBox (bool checked)
 
void OnChangeANFCheckBox (bool checked)
 

Protected Attributes

Ui::QmitkToFMESAParameterWidgetControls * m_Controls
 member holding the UI elements of this widget More...
 
mitk::ToFImageGrabberm_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...
 

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 36 of file QmitkToFMESAParameterWidget.h.

Constructor & Destructor Documentation

QmitkToFMESAParameterWidget::QmitkToFMESAParameterWidget ( QWidget *  p = 0,
Qt::WindowFlags  f1 = 0 
)
QmitkToFMESAParameterWidget::~QmitkToFMESAParameterWidget ( )
virtual

Definition at line 40 of file QmitkToFMESAParameterWidget.cpp.

Member Function Documentation

void QmitkToFMESAParameterWidget::ActivateAllParameters ( )
void QmitkToFMESAParameterWidget::CreateQtPartControl ( QWidget *  parent)
virtual

Definition at line 44 of file QmitkToFMESAParameterWidget.cpp.

References CreateConnections(), and m_Controls.

Referenced by QmitkToFMESAParameterWidget().

mitk::ToFImageGrabber * QmitkToFMESAParameterWidget::GetToFImageGrabber ( )

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

Returns
ToFImageGrabber currently used by the widget

Definition at line 68 of file QmitkToFMESAParameterWidget.cpp.

References m_ToFImageGrabber.

void QmitkToFMESAParameterWidget::OnChangeANFCheckBox ( bool  checked)
protectedslot
void QmitkToFMESAParameterWidget::OnChangeConvGrayCheckBox ( bool  checked)
protectedslot
void QmitkToFMESAParameterWidget::OnChangeFPNCheckBox ( bool  checked)
protectedslot
void QmitkToFMESAParameterWidget::OnChangeIntegrationTimeSpinBox ( int  value)
protectedslot

slot updating the member m_IntegrationTime and the parameter "integration time" of the current ToFImageGrabber

Definition at line 128 of file QmitkToFMESAParameterWidget.cpp.

References mitk::ToFImageGrabber::IsCameraActive(), m_Controls, m_IntegrationTime, m_ToFImageGrabber, mitk::ToFImageGrabber::SetIntegrationTime(), mitk::ToFImageGrabber::StartCamera(), and mitk::ToFImageGrabber::StopCamera().

Referenced by CreateConnections().

void QmitkToFMESAParameterWidget::OnChangeMedianCheckBox ( bool  checked)
protectedslot
void QmitkToFMESAParameterWidget::OnChangeModulationFrequencyComboBox ( int  index)
protectedslot

slot updating the member m_ModulationFrequency and the parameter "modulation frequency" of the current ToFImageGrabber

Definition at line 147 of file QmitkToFMESAParameterWidget.cpp.

References mitk::ToFImageGrabber::IsCameraActive(), m_ModulationFrequency, m_ToFImageGrabber, mitk::ToFImageGrabber::SetModulationFrequency(), mitk::ToFImageGrabber::StartCamera(), and mitk::ToFImageGrabber::StopCamera().

Referenced by CreateConnections().

void QmitkToFMESAParameterWidget::SetToFImageGrabber ( mitk::ToFImageGrabber aToFImageGrabber)

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

Definition at line 73 of file QmitkToFMESAParameterWidget.cpp.

References m_ToFImageGrabber.

void QmitkToFMESAParameterWidget::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.

void QmitkToFMESAParameterWidget::ToFCameraDisconnected ( )
signal

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

void QmitkToFMESAParameterWidget::ToFCameraSelected ( int  )
signal

signal that is emitted when a ToF camera is selected in the combo box

void QmitkToFMESAParameterWidget::ToFCameraStart ( )
signal

signal that is emitted when the ToF camera is started

void QmitkToFMESAParameterWidget::ToFCameraStop ( )
signal

signal that is emitted when the ToF camera is stopped

Member Data Documentation

Ui::QmitkToFMESAParameterWidgetControls* QmitkToFMESAParameterWidget::m_Controls
protected

member holding the UI elements of this widget

Definition at line 115 of file QmitkToFMESAParameterWidget.h.

Referenced by ActivateAllParameters(), CreateConnections(), CreateQtPartControl(), OnChangeIntegrationTimeSpinBox(), and QmitkToFMESAParameterWidget().

int QmitkToFMESAParameterWidget::m_IntegrationTime
protected

member for the current integration time of the ToF device

Definition at line 119 of file QmitkToFMESAParameterWidget.h.

Referenced by ActivateAllParameters(), OnChangeIntegrationTimeSpinBox(), and QmitkToFMESAParameterWidget().

int QmitkToFMESAParameterWidget::m_ModulationFrequency
protected

member for the current modulation frequency of the ToF device

Definition at line 120 of file QmitkToFMESAParameterWidget.h.

Referenced by ActivateAllParameters(), OnChangeModulationFrequencyComboBox(), and QmitkToFMESAParameterWidget().

const std::string QmitkToFMESAParameterWidget::VIEW_ID
static

Definition at line 44 of file QmitkToFMESAParameterWidget.h.


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