mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
DbViewer: EditDepth colormap now matches the one in main window
This commit is contained in:
@@ -200,7 +200,7 @@ private:
|
||||
QMap<int, int> idToIndex_;
|
||||
QList<rtabmap::Link> neighborLinks_;
|
||||
QList<rtabmap::Link> loopLinks_;
|
||||
int lastImageBrowsed_ = 0;
|
||||
int lastSliderIndexBrowsed_;
|
||||
rtabmap::DBDriver * dbDriver_;
|
||||
QString pathDatabase_;
|
||||
std::string databaseFileName_;
|
||||
|
||||
@@ -35,6 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <QPoint>
|
||||
#include <QWidget>
|
||||
#include <opencv2/opencv.hpp>
|
||||
#include "rtabmap/utilite/UCv2Qt.h"
|
||||
|
||||
class QMenu;
|
||||
class QAction;
|
||||
@@ -54,6 +55,7 @@ public:
|
||||
|
||||
void setPenWidth(int newWidth);
|
||||
int penWidth() const { return myPenWidth_; }
|
||||
void setColorMap(uCvQtDepthColorMap type);
|
||||
|
||||
public Q_SLOTS:
|
||||
void resetChanges();
|
||||
|
||||
@@ -36,6 +36,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <QtCore/QSettings>
|
||||
#include <opencv2/features2d/features2d.hpp>
|
||||
#include <map>
|
||||
#include "rtabmap/utilite/UCv2Qt.h"
|
||||
|
||||
class QAction;
|
||||
class QMenu;
|
||||
@@ -67,6 +68,7 @@ public:
|
||||
bool isGraphicsViewScaledToHeight() const;
|
||||
const QColor & getDefaultBackgroundColor() const;
|
||||
const QColor & getBackgroundColor() const;
|
||||
uCvQtDepthColorMap getDepthColorMap() const;
|
||||
|
||||
float viewScale() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user