ExportBundlerDialog.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7  * Redistributions of source code must retain the above copyright
8  notice, this list of conditions and the following disclaimer.
9  * Redistributions in binary form must reproduce the above copyright
10  notice, this list of conditions and the following disclaimer in the
11  documentation and/or other materials provided with the distribution.
12  * Neither the name of the Universite de Sherbrooke nor the
13  names of its contributors may be used to endorse or promote products
14  derived from this software without specific prior written permission.
15 
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
20 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27 
28 #ifndef RTABMAP_CORE_EXPORTBUNDLERDIALOG_H_
29 #define RTABMAP_CORE_EXPORTBUNDLERDIALOG_H_
30 
31 #include "rtabmap/gui/rtabmap_gui_export.h" // DLL export/import defines
32 
33 #include <rtabmap/core/Signature.h>
35 #include <QDialog>
36 #include <QSettings>
37 
38 class Ui_ExportBundlerDialog;
39 
40 namespace rtabmap {
41 
42 class RTABMAP_GUI_EXPORT ExportBundlerDialog : public QDialog
43 {
44  Q_OBJECT
45 
46 public:
47  ExportBundlerDialog(QWidget * parent = 0);
48 
49  virtual ~ExportBundlerDialog();
50 
51  void saveSettings(QSettings & settings, const QString & group = "") const;
52  void loadSettings(QSettings & settings, const QString & group = "");
53 
54  void setWorkingDirectory(const QString & path);
55 
56  void exportBundler(
57  const std::map<int, Transform> & poses,
58  const std::multimap<int, Link> & links,
59  const QMap<int, Signature> & signatures,
60  const ParametersMap & parameters);
61 
62 Q_SIGNALS:
63  void configChanged();
64 
65 private Q_SLOTS:
66  void getPath();
67  void restoreDefaults();
68  void updateVisibility();
69 
70 private:
71  Ui_ExportBundlerDialog * _ui;
72 };
73 
74 }
75 
76 #endif /* EXPORTBUNDLERDIALOG_H_ */
getPath
ROSLIB_DECL std::string getPath(const std::string &package_name)
rtabmap::ExportBundlerDialog::_ui
Ui_ExportBundlerDialog * _ui
Definition: ExportBundlerDialog.h:71
rtabmap::ParametersMap
std::map< std::string, std::string > ParametersMap
Definition: Parameters.h:43
Parameters.h
rtabmap::ExportBundlerDialog
Definition: ExportBundlerDialog.h:42
Signature.h
path
path
rtabmap
Definition: CameraARCore.cpp:35


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:09