28 #ifndef RTABMAP_EDITDEPTHAREA_H 29 #define RTABMAP_EDITDEPTHAREA_H 37 #include <opencv2/opencv.hpp> 51 void setImage(
const cv::Mat & depth,
const cv::Mat & rgb = cv::Mat());
52 cv::Mat getModifiedImage()
const;
55 void setPenWidth(
int newWidth);
62 virtual void mousePressEvent(QMouseEvent *event);
63 virtual void mouseMoveEvent(QMouseEvent *event);
64 virtual void mouseReleaseEvent(QMouseEvent *event);
65 virtual void paintEvent(QPaintEvent *event);
66 virtual void resizeEvent(QResizeEvent *event);
67 virtual void contextMenuEvent(QContextMenuEvent *
e);
70 void drawLineTo(
const QPoint &endPoint);
71 void computeScaleOffsets(
const QRect & targetRect,
float &
scale,
float & offsetX,
float & offsetY)
const;
GLM_FUNC_DECL genType e()