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

Method ClearReconstruction

src/colmap/ui/model_viewer_widget.cc:550–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void ModelViewerWidget::ClearReconstruction() {
551 cameras.clear();
552 images.clear();
553 points3D.clear();
554 reg_image_ids.clear();
555 reconstruction = nullptr;
556 point_cloud.reset();
557 surface_mesh.reset();
558 surface_texture_data.clear();
559 surface_texture_width = 0;
560 surface_texture_height = 0;
561 selected_image_id_ = kInvalidImageId;
562 selected_point3D_id_ = kInvalidPoint3DId;
563 Upload();
564}
565
566int ModelViewerWidget::GetProjectionType() const {
567 return options_->render->projection_type;

Callers 1

RenderClearMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected