mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
UI: Added option to change map resolution on UI side, save/restore thresholds in figures, fixed basic panel's slam/rgbd mode checkboxes not changing the state of corresponding parameters.
This commit is contained in:
@@ -226,6 +226,7 @@ public:
|
||||
double getSubtractFilteringRadius() const;
|
||||
double getSubtractFilteringAngle() const;
|
||||
|
||||
double getGridUIResolution() const;
|
||||
bool getGridMapShown() const;
|
||||
int getElevationMapShown() const;
|
||||
int getGridMapSensor() const;
|
||||
|
||||
@@ -95,8 +95,9 @@ public:
|
||||
StatsToolBox(QWidget * parent);
|
||||
virtual ~StatsToolBox();
|
||||
|
||||
void getFiguresSetup(QList<int> & curvesPerFigure, QStringList & curveNames);
|
||||
void getFiguresSetup(QList<int> & curvesPerFigure, QStringList & curveNames, QStringList & curveThresholds);
|
||||
void addCurve(const QString & name, bool newFigure = true, bool cacheOn = false);
|
||||
void addThreshold(const QString & name, qreal value); // Add to latest figure
|
||||
void setWorkingDirectory(const QString & workingDirectory);
|
||||
void setNewFigureMaxItems(int value) {_newFigureMaxItems = value;}
|
||||
void closeFigures();
|
||||
|
||||
@@ -270,6 +270,7 @@ public:
|
||||
*/
|
||||
UPlotCurveThreshold(const QString & name, qreal thesholdValue, Qt::Orientation orientation = Qt::Horizontal, QObject * parent = 0);
|
||||
virtual ~UPlotCurveThreshold();
|
||||
qreal getThreshold() const {return _threshold;}
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
@@ -288,6 +289,7 @@ protected:
|
||||
|
||||
private:
|
||||
Qt::Orientation _orientation;
|
||||
qreal _threshold;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -509,8 +511,10 @@ public:
|
||||
/**
|
||||
* Get all curve names.
|
||||
*/
|
||||
QStringList curveNames();
|
||||
bool contains(const QString & curveName);
|
||||
QStringList curveNames() const;
|
||||
bool contains(const QString & curveName) const;
|
||||
bool isThreshold(const QString & curveName) const;
|
||||
double getThresholdValue(const QString & curveName) const;
|
||||
void removeCurves();
|
||||
QString getAllCurveDataAsText() const;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user