MCPcopy Create free account
hub / github.com/city-super/Octree-GS / onRender

Method onRender

SIBR_viewers/src/core/view/MultiViewManager.cpp:86–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void MultiViewBase::onRender(Window& win, ShowInfo& info)
87 {
88 // Render all views.
89 for (auto & subview : _ibrSubViews) {
90 if (subview.second.view->active()) {
91
92 //renderSubView(subview.second);
93 renderSubView(subview.second);
94 if (subview.first == "Point view")
95 {
96 info._anchor_points = subview.second.cam._showInfo._anchor_points;
97 info._gaussian_points = subview.second.cam._showInfo._gaussian_points;
98 }
99
100 if (_enableGUI && _showSubViewsGui) {
101 subview.second.view->onGUI();
102 if (subview.second.handler) {
103 subview.second.handler->onGUI("Camera " + subview.first);
104 }
105 }
106 }
107
108 }
109 for (auto & subview : _subViews) {
110 if (subview.second.view->active()) {
111
112 renderSubView(subview.second);
113
114 if (_enableGUI && _showSubViewsGui) {
115 subview.second.view->onGUI();
116 if (subview.second.handler) {
117 subview.second.handler->onGUI("Camera " + subview.first);
118 }
119 }
120 }
121 }
122 for (auto & subMultiView : _subMultiViews) {
123 subMultiView.second->onRender(win, info);
124 }
125
126
127 }
128
129 void MultiViewBase::onGui(Window & win)
130 {

Callers 2

renderSubViewMethod · 0.45
renderMethod · 0.45

Calls 5

onRenderFunction · 0.85
viewportMethod · 0.80
onGUIMethod · 0.45
bindMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected