MCPcopy Create free account
hub / github.com/PRBonn/semantic_suma / optimizeGraph

Method optimizeGraph

src/visualizer/VisualizerWindow.cpp:574–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574void VisualizerWindow::optimizeGraph() {
575 Stopwatch::tic();
576 fusion_->globallyOptimize();
577 std::cout << "Global optimization took " << Stopwatch::toc() << std::endl;
578
579 ui_.wCanvas->setOptimizedPoses(fusion_->getOptimizedPoses());
580 ui_.wCanvas->updateGL();
581}
582
583void VisualizerWindow::reset() {
584 if (reader_ != nullptr) {

Callers

nothing calls this directly

Calls 3

globallyOptimizeMethod · 0.80
setOptimizedPosesMethod · 0.80
getOptimizedPosesMethod · 0.80

Tested by

no test coverage detected