mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
GUI: Optimized odometry display
GUI: moved alpha parameter into ImageView object
This commit is contained in:
@@ -57,6 +57,7 @@ public:
|
||||
bool isImageDepthShown() const;
|
||||
bool isFeaturesShown() const;
|
||||
bool isLinesShown() const;
|
||||
int getAlpha() const {return _alpha;}
|
||||
|
||||
void setFeaturesShown(bool shown);
|
||||
void setImageShown(bool shown);
|
||||
@@ -69,6 +70,7 @@ public:
|
||||
void setImageDepth(const QImage & image);
|
||||
void setFeatureColor(int id, const QColor & color);
|
||||
void setFeaturesColor(const QColor & color);
|
||||
void setAlpha(int alpha);
|
||||
|
||||
const QMultiMap<int, rtabmap::KeypointItem *> & getFeatures() const {return _features;}
|
||||
|
||||
@@ -92,6 +94,7 @@ private:
|
||||
int _zoom;
|
||||
int _minZoom;
|
||||
QString _savedFileName;
|
||||
int _alpha;
|
||||
|
||||
QMenu * _menu;
|
||||
QAction * _showImage;
|
||||
@@ -99,6 +102,7 @@ private:
|
||||
QAction * _showFeatures;
|
||||
QAction * _showLines;
|
||||
QAction * _saveImage;
|
||||
QAction * _setAlpha;
|
||||
|
||||
QMultiMap<int, rtabmap::KeypointItem *> _features;
|
||||
QGraphicsPixmapItem * _image;
|
||||
|
||||
Reference in New Issue
Block a user