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

Method ApplyProjection

src/colmap/ui/render_options_widget.cc:213–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void RenderOptionsWidget::ApplyProjection() {
214 switch (projection_cb_->currentIndex()) {
215 case 0:
216 options_->render->projection_type =
217 RenderOptions::ProjectionType::PERSPECTIVE;
218 break;
219 case 1:
220 options_->render->projection_type =
221 RenderOptions::ProjectionType::ORTHOGRAPHIC;
222 break;
223 default:
224 options_->render->projection_type =
225 RenderOptions::ProjectionType::PERSPECTIVE;
226 break;
227 }
228}
229
230void RenderOptionsWidget::ApplyPointColormap() {
231 std::unique_ptr<PointColormapBase> point3D_color_map;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected