28 CreateQtPartControl(
this);
36void QmitkOpenIGTLinkWidget::CreateQtPartControl(QWidget *parent)
49 mitk::OpenIGTLinkTrackingDevice::Pointer OIGTLDevice = mitk::OpenIGTLinkTrackingDevice::New();
50 OIGTLDevice->SetPortNumber(
m_Controls->m_OpenIGTLinkPort->text().toInt());
51 OIGTLDevice->SetHostname(
m_Controls->m_OpenIGTLinkHostname->text().toStdString());
52 OIGTLDevice->SetUpdateRate(
m_Controls->m_UpdateRate->value());
53 return static_cast<mitk::TrackingDevice::Pointer
>(OIGTLDevice);
62 clonedWidget->
m_Controls->m_OpenIGTLinkHostname->setText(
m_Controls->m_OpenIGTLinkHostname->text());