MCPcopy Create free account
hub / github.com/Anttwo/SuGaR / gui_options

Method gui_options

gaussian_splatting/SIBR_viewers/src/core/view/SceneDebugView.cpp:374–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372 }
373
374 void SceneDebugView::gui_options()
375 {
376
377 if (ImGui::CollapsingHeader("OptionsSceneDebugView##")) {
378 if (ImGui::Button("Save topview")) {
379 save();
380 }
381
382 ImGui::PushScaledItemWidth(120);
383 ImGui::InputFloat("Camera scale", &_cameraScaling, 0.1f, 10.0f);
384 _cameraScaling = std::max(0.001f, _cameraScaling);
385
386 ImGui::Checkbox("Draw labels ", &_showLabels);
387 if (_showLabels) {
388 ImGui::SameLine();
389 ImGui::InputFloat("Label scale", &_labelScale, 0.2f, 10.0f);
390 }
391
392 ImGui::Separator();
393 ImGui::Checkbox("Draw Input Images ", &_showImages);
394 if (_showImages) {
395 ImGui::SameLine();
396 ImGui::SliderFloat("Alpha", &_alphaImage, 0, 1.0);
397 }
398
399 camera_handler.onGUI("Top view settings");
400 ImGui::PopItemWidth();
401 ImGui::Separator();
402 }
403 }
404
405 void SceneDebugView::gui_cameras()
406 {

Callers

nothing calls this directly

Calls 3

saveFunction · 0.85
PushScaledItemWidthFunction · 0.85
onGUIMethod · 0.45

Tested by

no test coverage detected