Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkToFPMDParameterWidget Class Reference

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

#include <QmitkToFPMDParameterWidget.h>

Inheritance diagram for QmitkToFPMDParameterWidget:
Collaboration diagram for QmitkToFPMDParameterWidget:

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

 QmitkToFPMDParameterWidget (QWidget *p=0, Qt::WindowFlags f1=0)
 
virtual ~QmitkToFPMDParameterWidget ()
 
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 OnChangeModulationFrequencySpinBox (int value)
 slot updating the member m_ModulationFrequency and the parameter "modulation frequency" of the current ToFImageGrabber More...
 

Protected Attributes

Ui::QmitkToFPMDParameterWidgetControls * 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 QmitkToFPMDParameterWidget.h.

Constructor & Destructor Documentation

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

Definition at line 40 of file QmitkToFPMDParameterWidget.cpp.

Member Function Documentation

void QmitkToFPMDParameterWidget::CreateConnections ( )
virtual
void QmitkToFPMDParameterWidget::CreateQtPartControl ( QWidget *  parent)
virtual

Definition at line 44 of file QmitkToFPMDParameterWidget.cpp.

References CreateConnections(), and m_Controls.

Referenced by QmitkToFPMDParameterWidget().

mitk::ToFImageGrabber * QmitkToFPMDParameterWidget::GetToFImageGrabber ( )

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

Returns
ToFImageGrabber currently used by the widget

Definition at line 64 of file QmitkToFPMDParameterWidget.cpp.

References m_ToFImageGrabber.

void QmitkToFPMDParameterWidget::OnChangeIntegrationTimeSpinBox ( int  value)
protectedslot

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

Definition at line 100 of file QmitkToFPMDParameterWidget.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 QmitkToFPMDParameterWidget::OnChangeModulationFrequencySpinBox ( int  value)
protectedslot

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

Definition at line 124 of file QmitkToFPMDParameterWidget.cpp.

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

Referenced by CreateConnections().

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

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

Definition at line 69 of file QmitkToFPMDParameterWidget.cpp.

References m_ToFImageGrabber.

void QmitkToFPMDParameterWidget::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 QmitkToFPMDParameterWidget::ToFCameraDisconnected ( )
signal

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

void QmitkToFPMDParameterWidget::ToFCameraSelected ( int  )
signal

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

void QmitkToFPMDParameterWidget::ToFCameraStart ( )
signal

signal that is emitted when the ToF camera is started

void QmitkToFPMDParameterWidget::ToFCameraStop ( )
signal

signal that is emitted when the ToF camera is stopped

Member Data Documentation

Ui::QmitkToFPMDParameterWidgetControls* QmitkToFPMDParameterWidget::m_Controls
protected
int QmitkToFPMDParameterWidget::m_IntegrationTime
protected

member for the current integration time of the ToF device

Definition at line 111 of file QmitkToFPMDParameterWidget.h.

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

int QmitkToFPMDParameterWidget::m_ModulationFrequency
protected

member for the current modulation frequency of the ToF device

Definition at line 112 of file QmitkToFPMDParameterWidget.h.

Referenced by ActivateAllParameters(), OnChangeModulationFrequencySpinBox(), and QmitkToFPMDParameterWidget().

mitk::ToFImageGrabber* QmitkToFPMDParameterWidget::m_ToFImageGrabber
protected
const std::string QmitkToFPMDParameterWidget::VIEW_ID
static

Definition at line 44 of file QmitkToFPMDParameterWidget.h.


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