mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
fixed checked/unchecked actions of menu "Select Source..."
This commit is contained in:
@@ -200,7 +200,7 @@ private:
|
||||
void createAndAddScanToMap(int nodeId, const Transform & pose, int mapId);
|
||||
void drawKeypoints(const std::multimap<int, cv::KeyPoint> & refWords, const std::multimap<int, cv::KeyPoint> & loopWords);
|
||||
void setupMainLayout(bool vertical);
|
||||
void updateSelectSourceImageMenu(int type);
|
||||
void updateSelectSourceImageMenu(bool used, PreferencesDialog::Src src);
|
||||
void updateSelectSourceDatabase(bool used);
|
||||
void updateSelectSourceRGBDMenu(bool used, PreferencesDialog::Src src);
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ public:
|
||||
bool isSourceImageUsed() const;
|
||||
bool isSourceDatabaseUsed() const;
|
||||
bool isSourceOpenniUsed() const;
|
||||
int getSourceImageType() const;
|
||||
PreferencesDialog::Src getSourceImageType() const;
|
||||
QString getSourceImageTypeStr() const;
|
||||
int getSourceWidth() const;
|
||||
int getSourceHeight() const;
|
||||
@@ -211,9 +211,9 @@ public slots:
|
||||
void setHardThr(int value);
|
||||
void setTimeLimit(float value);
|
||||
void setSLAMMode(bool enabled);
|
||||
void selectSourceImage(Src src = kSrcUndef);
|
||||
void selectSourceDatabase(bool user = false);
|
||||
void selectSourceRGBD(Src src = kSrcUndef);
|
||||
void selectSourceImage(Src src = kSrcUndef, bool checked = true);
|
||||
void selectSourceDatabase(bool user = false, bool checked = true);
|
||||
void selectSourceRGBD(Src src = kSrcUndef, bool checked = true);
|
||||
|
||||
private slots:
|
||||
void closeDialog ( QAbstractButton * button );
|
||||
|
||||
Reference in New Issue
Block a user