MCPcopy Create free account
hub / github.com/colmap/colmap / SetBackgroundColor

Method SetBackgroundColor

src/colmap/ui/model_viewer_widget.cc:882–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880}
881
882void ModelViewerWidget::SetBackgroundColor(const float r,
883 const float g,
884 const float b) {
885 background_color_[0] = r;
886 background_color_[1] = g;
887 background_color_[2] = b;
888 update();
889}
890
891void ModelViewerWidget::mousePressEvent(QMouseEvent* event) {
892 if (mouse_press_timer_.isActive()) { // Select objects (2. click)

Callers 1

ApplyBackgroundColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected