mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Merged Audio branch to trunk
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@560 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* along with RTAB-Map. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "ImageView.h"
|
||||
#include "rtabmap/gui/ImageView.h"
|
||||
|
||||
#include <QtGui/QWheelEvent>
|
||||
#include <QtCore/qmath.h>
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <QtCore/QDir>
|
||||
#include <QtGui/QAction>
|
||||
#include "utilite/ULogger.h"
|
||||
#include "KeypointItem.h"
|
||||
#include "rtabmap/gui/KeypointItem.h"
|
||||
|
||||
namespace rtabmap {
|
||||
|
||||
@@ -73,11 +73,23 @@ bool ImageView::isFeaturesShown()
|
||||
return _showFeatures->isChecked();
|
||||
}
|
||||
|
||||
void ImageView::setFeaturesShown(bool shown)
|
||||
{
|
||||
_showFeatures->setChecked(shown);
|
||||
this->updateItemsShown();
|
||||
}
|
||||
|
||||
bool ImageView::isLinesShown()
|
||||
{
|
||||
return _showLines->isChecked();
|
||||
}
|
||||
|
||||
void ImageView::setLinesShown(bool shown)
|
||||
{
|
||||
_showLines->setChecked(shown);
|
||||
this->updateItemsShown();
|
||||
}
|
||||
|
||||
void ImageView::contextMenuEvent(QContextMenuEvent * e)
|
||||
{
|
||||
QAction * action = _menu->exec(e->globalPos());
|
||||
|
||||
Reference in New Issue
Block a user