mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
EditDepthArea: added cluster error menu option, fixed seg fault on large cluster removal
This commit is contained in:
@@ -55,6 +55,8 @@ public:
|
||||
|
||||
void setPenWidth(int newWidth);
|
||||
int penWidth() const { return myPenWidth_; }
|
||||
void setClusterError(double error) { clusterError_ = error; }
|
||||
double clusterError() const { return clusterError_; }
|
||||
void setColorMap(uCvQtDepthColorMap type);
|
||||
|
||||
public Q_SLOTS:
|
||||
@@ -75,6 +77,7 @@ private:
|
||||
bool modified_;
|
||||
bool scribbling_;
|
||||
int myPenWidth_;
|
||||
double clusterError_;
|
||||
QImage imageRGB_;
|
||||
QImage image_;
|
||||
cv::Mat originalImage_;
|
||||
@@ -83,6 +86,7 @@ private:
|
||||
QMenu * menu_;
|
||||
QAction * showRGB_;
|
||||
QAction * removeCluster_;
|
||||
QAction * clusterErrorCluster_;
|
||||
QAction * resetChanges_;
|
||||
QAction * setPenWidth_;
|
||||
QAction * colorMapWhiteToBlack_;
|
||||
|
||||
Reference in New Issue
Block a user