| 185 | } |
| 186 | |
| 187 | void sibr::RemotePointView::onGUI() |
| 188 | { |
| 189 | const std::string guiName = "Remote Viewer Settings (" + name() + ")"; |
| 190 | if (ImGui::Begin(guiName.c_str())) |
| 191 | { |
| 192 | ImGui::Checkbox("Show Input Points", &_showSfM); |
| 193 | ImGui::Checkbox("Show Input Points during Motion", &_renderSfMInMotion); |
| 194 | ImGui::Checkbox("Train", &_doTrainingBool); |
| 195 | ImGui::Checkbox("SHs Python", &_doSHsPython); |
| 196 | ImGui::Checkbox("Rot-Scale Python", &_doRotScalePython); |
| 197 | ImGui::Checkbox("Keep model alive (after training)", &_keepAlive); |
| 198 | ImGui::SliderFloat("Scaling Modifier", &_scalingModifier, 0.001f, 1.0f); |
| 199 | } |
| 200 | ImGui::End(); |
| 201 | } |
| 202 | |
| 203 | sibr::RemotePointView::~RemotePointView() |
| 204 | { |