28 #ifndef RTABMAP_EDITMAPAREA_H 29 #define RTABMAP_EDITMAPAREA_H 37 #include <opencv2/opencv.hpp> 52 void setMap(
const cv::Mat & map);
53 cv::Mat getModifiedMap()
const;
56 void setPenWidth(
int newWidth);
64 virtual void mousePressEvent(QMouseEvent *event);
65 virtual void mouseMoveEvent(QMouseEvent *event);
66 virtual void mouseReleaseEvent(QMouseEvent *event);
67 virtual void paintEvent(QPaintEvent *event);
68 virtual void resizeEvent(QResizeEvent *event);
69 virtual void contextMenuEvent(QContextMenuEvent *
e);
72 void drawLineTo(
const QPoint &endPoint);
73 void computeScaleOffsets(
const QRect & targetRect,
float &
scale,
float & offsetX,
float & offsetY)
const;
GLM_FUNC_DECL genType e()