28 #ifndef RTABMAP_EDITDEPTHAREA_H 29 #define RTABMAP_EDITDEPTHAREA_H 37 #include <opencv2/opencv.hpp> 52 void setImage(
const cv::Mat & depth,
const cv::Mat & rgb = cv::Mat());
53 cv::Mat getModifiedImage()
const;
56 void setPenWidth(
int newWidth);
66 virtual void mousePressEvent(QMouseEvent *event);
67 virtual void mouseMoveEvent(QMouseEvent *event);
68 virtual void mouseReleaseEvent(QMouseEvent *event);
69 virtual void paintEvent(QPaintEvent *event);
70 virtual void resizeEvent(QResizeEvent *event);
71 virtual void contextMenuEvent(QContextMenuEvent *
e);
74 void drawLineTo(
const QPoint &endPoint);
75 void computeScaleOffsets(
const QRect & targetRect,
float &
scale,
float & offsetX,
float & offsetY)
const;
QAction * colorMapRedToBlue_
QAction * clusterErrorCluster_
GLM_FUNC_DECL genType e()
QAction * colorMapWhiteToBlack_
QAction * colorMapBlackToWhite_
QAction * colorMapBlueToRed_
void setClusterError(double error)
double clusterError() const