g2o
Loading...
Searching...
No Matches
g2o
apps
g2o_viewer
viewer_properties_widget.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_VIEWER_PROPERTIES_WIDGET_H
20
#define G2O_VIEWER_PROPERTIES_WIDGET_H
21
22
#include "
g2o_viewer_api.h
"
23
#include "
properties_widget.h
"
24
25
namespace
g2o
{
26
class
G2oQGLViewer;
27
}
28
29
class
G2O_VIEWER_API
ViewerPropertiesWidget
:
public
PropertiesWidget
{
30
public
:
31
ViewerPropertiesWidget
(QWidget* parent = 0);
32
virtual
~ViewerPropertiesWidget
();
33
34
void
setViewer(
g2o::G2oQGLViewer
* viewer);
35
36
protected
:
37
g2o::G2oQGLViewer
*
_viewer
;
38
39
virtual
void
applyProperties
();
40
virtual
std::string
humanReadablePropName
(
const
std::string& probName)
const
;
41
};
42
43
#endif
PropertiesWidget
Definition
properties_widget.h:35
PropertiesWidget::humanReadablePropName
virtual std::string humanReadablePropName(const std::string &propertyName) const
Definition
properties_widget.cpp:120
PropertiesWidget::applyProperties
virtual void applyProperties()
Definition
properties_widget.cpp:90
ViewerPropertiesWidget
Definition
viewer_properties_widget.h:29
ViewerPropertiesWidget::_viewer
g2o::G2oQGLViewer * _viewer
Definition
viewer_properties_widget.h:37
g2o::G2oQGLViewer
OpenGL based viewer for the graph.
Definition
g2o_qglviewer.h:33
g2o_viewer_api.h
G2O_VIEWER_API
#define G2O_VIEWER_API
Definition
g2o_viewer_api.h:47
g2o
Definition
dl_wrapper.cpp:55
properties_widget.h
Generated on Tue Nov 11 2025 05:18:45 for g2o by
1.9.8