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