Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkStructureSensorParameterWidget Class Reference

Widget for configuring the Structure Sensor device (Occipital, Inc.) More...

#include <QmitkStructureSensorParameterWidget.h>

Inheritance diagram for QmitkStructureSensorParameterWidget:
Collaboration diagram for QmitkStructureSensorParameterWidget:

Public Member Functions

 QmitkStructureSensorParameterWidget (QWidget *p=0, Qt::WindowFlags f=0)
 
virtual ~QmitkStructureSensorParameterWidget ()
 
virtual void CreateQtPartControl (QWidget *parent)
 
virtual void CreateConnections ()
 
mitk::ToFImageGrabberGetToFImageGrabber ()
 returns the ToFImageGrabber More...
 
void SetToFImageGrabber (mitk::ToFImageGrabber *aToFImageGrabber)
 sets the ToFImageGrabber More...
 
void ActivateAllParameters ()
 activate camera settings according to the parameters from GUI More...
 
int GetSelectedResolution ()
 GetSelectedResolution getter for 640/320 resolution. More...
 

Static Public Attributes

static const std::string VIEW_ID
 

Protected Slots

void OnResolutionChanged ()
 OnResolutionChanged called when the resolution combobox is changed. More...
 

Protected Attributes

Ui::QmitkStructureSensorParameterWidgetControls * m_Controls
 member holding the UI elements of this widget More...
 
mitk::ToFImageGrabber::Pointer m_ToFImageGrabber
 image grabber object to be configured by the widget More...
 

Detailed Description

Widget for configuring the Structure Sensor device (Occipital, Inc.)

Note
This device is currently not available open-source, because the required WiFi protocol is part of the commercial mbits source code (http://mbits.info/). If you want to use the device please contact mitk-.nosp@m.user.nosp@m.s@dkf.nosp@m.z-he.nosp@m.idelb.nosp@m.erg..nosp@m.de.

Definition at line 36 of file QmitkStructureSensorParameterWidget.h.

Constructor & Destructor Documentation

QmitkStructureSensorParameterWidget::QmitkStructureSensorParameterWidget ( QWidget *  p = 0,
Qt::WindowFlags  f = 0 
)
QmitkStructureSensorParameterWidget::~QmitkStructureSensorParameterWidget ( )
virtual

Definition at line 28 of file QmitkStructureSensorParameterWidget.cpp.

Member Function Documentation

void QmitkStructureSensorParameterWidget::ActivateAllParameters ( )

activate camera settings according to the parameters from GUI

Definition at line 63 of file QmitkStructureSensorParameterWidget.cpp.

References OnResolutionChanged().

void QmitkStructureSensorParameterWidget::CreateConnections ( )
virtual

Definition at line 44 of file QmitkStructureSensorParameterWidget.cpp.

References m_Controls, and OnResolutionChanged().

Referenced by CreateQtPartControl().

void QmitkStructureSensorParameterWidget::CreateQtPartControl ( QWidget *  parent)
virtual
int QmitkStructureSensorParameterWidget::GetSelectedResolution ( )

GetSelectedResolution getter for 640/320 resolution.

Returns
320: 320x240, 640: 640x480 else -1 and a warning.

Definition at line 85 of file QmitkStructureSensorParameterWidget.cpp.

References m_Controls, and MITK_ERROR.

Referenced by OnResolutionChanged().

mitk::ToFImageGrabber * QmitkStructureSensorParameterWidget::GetToFImageGrabber ( )

returns the ToFImageGrabber

Returns
ToFImageGrabber currently used by the widget

Definition at line 53 of file QmitkStructureSensorParameterWidget.cpp.

References m_ToFImageGrabber.

void QmitkStructureSensorParameterWidget::OnResolutionChanged ( )
protectedslot

OnResolutionChanged called when the resolution combobox is changed.

Definition at line 68 of file QmitkStructureSensorParameterWidget.cpp.

References GetSelectedResolution(), m_ToFImageGrabber, and MITK_WARN.

Referenced by ActivateAllParameters(), and CreateConnections().

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

sets the ToFImageGrabber

Definition at line 58 of file QmitkStructureSensorParameterWidget.cpp.

References m_ToFImageGrabber.

Member Data Documentation

Ui::QmitkStructureSensorParameterWidgetControls* QmitkStructureSensorParameterWidget::m_Controls
protected

member holding the UI elements of this widget

Definition at line 83 of file QmitkStructureSensorParameterWidget.h.

Referenced by CreateConnections(), CreateQtPartControl(), GetSelectedResolution(), and QmitkStructureSensorParameterWidget().

mitk::ToFImageGrabber::Pointer QmitkStructureSensorParameterWidget::m_ToFImageGrabber
protected

image grabber object to be configured by the widget

Definition at line 85 of file QmitkStructureSensorParameterWidget.h.

Referenced by GetToFImageGrabber(), OnResolutionChanged(), QmitkStructureSensorParameterWidget(), and SetToFImageGrabber().

const std::string QmitkStructureSensorParameterWidget::VIEW_ID
static

Definition at line 43 of file QmitkStructureSensorParameterWidget.h.


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