mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Cleanup gui
Fixed crash when a new location (B merged with previous location A through rehearsal) and then loop on a location already merged with the location A (which is not anymore in WM) Updated rejected hypothesis tag git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@299 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
#include <QtGui/QGraphicsView>
|
||||
#include <QtCore/QRectF>
|
||||
|
||||
class QAction;
|
||||
class QMenu;
|
||||
|
||||
namespace rtabmap {
|
||||
|
||||
class ImageView : public QGraphicsView {
|
||||
@@ -35,6 +38,9 @@ public:
|
||||
|
||||
void resetZoom();
|
||||
|
||||
bool isImageShown();
|
||||
bool isFeaturesShown();
|
||||
|
||||
protected:
|
||||
virtual void contextMenuEvent(QContextMenuEvent * e);
|
||||
virtual void wheelEvent(QWheelEvent * e);
|
||||
@@ -42,10 +48,18 @@ protected:
|
||||
private slots:
|
||||
void updateZoom();
|
||||
|
||||
private:
|
||||
void updateItemsShown();
|
||||
|
||||
private:
|
||||
int _zoom;
|
||||
int _minZoom;
|
||||
QString _savedFileName;
|
||||
|
||||
QMenu * _menu;
|
||||
QAction * _showImage;
|
||||
QAction * _showFeatures;
|
||||
QAction * _saveImage;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user