28 #ifndef RTABMAP_POSTPROCESSINGDIALOG_H_
29 #define RTABMAP_POSTPROCESSINGDIALOG_H_
31 #include "rtabmap/gui/rtabmap_gui_export.h"
34 #include <QtCore/QSettings>
38 class Ui_PostProcessingDialog;
39 class QAbstractButton;
52 void saveSettings(QSettings & settings,
const QString & group =
"")
const;
53 void loadSettings(QSettings & settings,
const QString & group =
"");
56 bool isDetectMoreLoopClosures()
const;
57 double clusterRadius()
const;
58 double clusterAngle()
const;
59 int iterations()
const;
60 bool intraSession()
const;
61 bool interSession()
const;
62 bool isRefineNeighborLinks()
const;
63 bool isRefineLoopClosureLinks()
const;
65 int sbaIterations()
const;
66 double sbaVariance()
const;
68 bool sbaRematchFeatures()
const;
71 void setDetectMoreLoopClosures(
bool on);
72 void setClusterRadius(
double radius);
73 void setClusterAngle(
double angle);
74 void setIterations(
int iterations);
75 void setIntraSession(
bool enabled);
76 void setInterSession(
bool enabled);
77 void setRefineNeighborLinks(
bool on);
78 void setRefineLoopClosureLinks(
bool on);
80 void setSBAIterations(
int iterations);
81 void setSBAVariance(
double variance);
83 void setSBARematchFeatures(
bool value);
89 void closeDialog ( QAbstractButton * button );
90 void restoreDefaults();
93 void updateVisibility();
94 void updateButtonBox();
100 Ui_PostProcessingDialog *
_ui;