g2o
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
g2o
examples
slam2d
main_window.h
Go to the documentation of this file.
1
// g2o - General Graph Optimization
2
// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
3
//
4
// This file is part of g2o.
5
//
6
// g2o is free software: you can redistribute it and/or modify
7
// it under the terms of the GNU General Public License as published by
8
// the Free Software Foundation, either version 3 of the License, or
9
// (at your option) any later version.
10
//
11
// g2o is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
15
//
16
// You should have received a copy of the GNU General Public License
17
// along with g2o. If not, see <http://www.gnu.org/licenses/>.
18
19
#ifndef G2O_MAIN_WINDOW_H
20
#define G2O_MAIN_WINDOW_H
21
22
#include "ui_base_main_window.h"
23
24
namespace
g2o
{
25
class
OptimizationAlgorithm
;
26
}
27
28
class
MainWindow
:
public
QMainWindow,
public
Ui::BaseMainWindow
29
{
30
Q_OBJECT
31
public
:
32
MainWindow
(QWidget * parent = 0, Qt::WindowFlags flags = 0);
33
~
MainWindow
();
34
35
g2o::OptimizationAlgorithm
*
solverGaussNewton
;
36
g2o::OptimizationAlgorithm
*
solverLevenberg
;
37
38
public
slots:
39
void
on_actionLoad_triggered(
bool
);
40
void
on_actionSave_triggered(
bool
);
41
void
on_actionQuit_triggered(
bool
);
42
void
on_btnOptimize_clicked();
43
void
on_btnInitialGuess_clicked();
44
45
protected
:
46
void
fixGraph();
47
48
};
49
50
#endif
MainWindow::solverGaussNewton
g2o::OptimizationAlgorithm * solverGaussNewton
Definition:
main_window.h:35
g2o::OptimizationAlgorithm
class G2O_CORE_API OptimizationAlgorithm
Definition:
optimization_algorithm_factory.h:46
g2o
Definition:
dl_wrapper.cpp:54
MainWindow::solverLevenberg
g2o::OptimizationAlgorithm * solverLevenberg
Definition:
main_window.h:36
g2o::OptimizationAlgorithm
Generic interface for a non-linear solver operating on a graph.
Definition:
optimization_algorithm.h:47
MainWindow
main window of the g2o viewer
Definition:
main_window.h:40
Generated on Mon Mar 18 2019 20:14:37 for g2o by
1.8.11