g2o
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
g2o
examples
slam2d
slam2d_viewer.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_QGL_GRAPH_VIEWER_H
20
#define G2O_QGL_GRAPH_VIEWER_H
21
22
#include "qglviewer.h"
23
24
namespace
g2o
{
25
26
class
SparseOptimizer
;
27
28
class
Slam2DViewer
:
public
QGLViewer
29
{
30
public
:
31
Slam2DViewer
(QWidget* parent=NULL,
const
QGLWidget* shareWidget=0, Qt::WFlags flags=0);
32
~Slam2DViewer
();
33
virtual
void
draw
();
34
void
init
();
35
36
public
:
37
SparseOptimizer
*
graph
;
38
bool
drawCovariance
;
39
};
40
41
}
// end namespace
42
43
#endif
g2o::Slam2DViewer::graph
SparseOptimizer * graph
Definition:
slam2d_viewer.h:37
g2o::Slam2DViewer::init
void init()
Definition:
slam2d_viewer.cpp:180
g2o::Slam2DViewer::draw
virtual void draw()
Definition:
slam2d_viewer.cpp:141
g2o::Slam2DViewer::~Slam2DViewer
~Slam2DViewer()
Definition:
slam2d_viewer.cpp:137
g2o
Definition:
dl_wrapper.cpp:54
g2o::SparseOptimizer
class G2O_CORE_API SparseOptimizer
Definition:
optimization_algorithm_factory.h:47
g2o::Slam2DViewer::drawCovariance
bool drawCovariance
Definition:
slam2d_viewer.h:38
g2o::SparseOptimizer
Definition:
sparse_optimizer.h:46
g2o::Slam2DViewer
Definition:
slam2d_viewer.h:28
g2o::Slam2DViewer::Slam2DViewer
Slam2DViewer(QWidget *parent=NULL, const QGLWidget *shareWidget=0, Qt::WFlags flags=0)
Definition:
slam2d_viewer.cpp:131
Generated on Mon Mar 18 2019 20:14:38 for g2o by
1.8.11