GUI: Optimized odometry display

GUI: moved alpha parameter into ImageView object
This commit is contained in:
Mathieu Labbe
2015-01-23 15:16:05 -05:00
parent 7a6bf630ca
commit f9fb6216d8
7 changed files with 119 additions and 116 deletions
+4
View File
@@ -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;