Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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=nullptr, Qt::WindowFlags f=nullptr)
 
 ~QmitkStructureSensorParameterWidget () override
 
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 (https://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 32 of file QmitkStructureSensorParameterWidget.h.

Constructor & Destructor Documentation

◆ QmitkStructureSensorParameterWidget()

QmitkStructureSensorParameterWidget::QmitkStructureSensorParameterWidget ( QWidget *  p = nullptr,
Qt::WindowFlags  f = nullptr 
)

◆ ~QmitkStructureSensorParameterWidget()

QmitkStructureSensorParameterWidget::~QmitkStructureSensorParameterWidget ( )
override

Member Function Documentation

◆ ActivateAllParameters()

void QmitkStructureSensorParameterWidget::ActivateAllParameters ( )

activate camera settings according to the parameters from GUI

◆ CreateConnections()

virtual void QmitkStructureSensorParameterWidget::CreateConnections ( )
virtual

◆ CreateQtPartControl()

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

◆ GetSelectedResolution()

int QmitkStructureSensorParameterWidget::GetSelectedResolution ( )

GetSelectedResolution getter for 640/320 resolution.

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

◆ GetToFImageGrabber()

mitk::ToFImageGrabber* QmitkStructureSensorParameterWidget::GetToFImageGrabber ( )

returns the ToFImageGrabber

Returns
ToFImageGrabber currently used by the widget

◆ OnResolutionChanged

void QmitkStructureSensorParameterWidget::OnResolutionChanged ( )
protectedslot

OnResolutionChanged called when the resolution combobox is changed.

◆ SetToFImageGrabber()

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

sets the ToFImageGrabber

Member Data Documentation

◆ m_Controls

Ui::QmitkStructureSensorParameterWidgetControls* QmitkStructureSensorParameterWidget::m_Controls
protected

member holding the UI elements of this widget

Definition at line 79 of file QmitkStructureSensorParameterWidget.h.

◆ m_ToFImageGrabber

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

image grabber object to be configured by the widget

Definition at line 81 of file QmitkStructureSensorParameterWidget.h.

◆ VIEW_ID

const std::string QmitkStructureSensorParameterWidget::VIEW_ID
static

Definition at line 39 of file QmitkStructureSensorParameterWidget.h.


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