8 const auto adr =
reinterpret_cast<std::intptr_t
>(
this);
10 .file(
_ui.lineEditProject->text().toStdString(),
11 _ui.comboBoxFile->currentText().toStdString())
12 .position(
_ui.doubleSpinBoxTX->value(),
13 _ui.doubleSpinBoxTY->value(),
14 _ui.doubleSpinBoxTZ->value())
15 .orientation(
_ui.doubleSpinBoxRX->value(),
16 _ui.doubleSpinBoxRY->value(),
17 _ui.doubleSpinBoxRZ->value());
18 if (
_ui.checkBoxColor->isChecked())
20 r.overrideColor(
viz::Color{
static_cast<float>(
_ui.doubleSpinBoxR->value()),
21 static_cast<float>(
_ui.doubleSpinBoxG->value()),
22 static_cast<float>(
_ui.doubleSpinBoxB->value()),
23 static_cast<float>(
_ui.doubleSpinBoxA->value())});