36 #include <QMainWindow> 37 #include <QtCore/QSet> 38 #include <QtCore/QTimer> 39 #include <QtCore/QTime> 40 #include <QtCore/QMap> 41 #include <QtCore/QByteArray> 43 #include <opencv2/opencv.hpp> 57 class ParametersToolBox;
60 class KeypointDetector;
61 class DescriptorExtractor;
73 void setSourceImageText(
const QString & text);
76 virtual void closeEvent(QCloseEvent * event);
77 virtual void keyPressEvent(QKeyEvent *event);
80 void startProcessing();
81 void stopProcessing();
82 void pauseProcessing();
83 void update(
const cv::Mat & image);
93 void loadVocabulary();
94 void saveVocabulary();
95 void addObjectFromScene();
96 void addObjectsFromFiles(
const QStringList & fileNames);
97 void addObjectsFromFiles();
98 void addObjectFromTcp(
const cv::Mat & image,
int id,
const QString & filePath);
99 void loadSceneFromFile(
const QStringList & fileNames);
100 void loadSceneFromFile();
101 void setupCameraFromVideoFile();
102 void setupCameraFromImagesDirectory();
103 void setupCameraFromTcpIp();
105 void removeObject(
int id);
106 void removeAllObjects();
107 void updateObjectsSize();
108 void updateMirrorView();
109 void showHideControls();
110 void showObjectsFeatures();
111 void hideObjectsFeatures();
112 void updateObjects();
113 void notifyParametersChanged(
const QStringList &
param);
114 void moveCameraFrame(
int frame);
115 void rectHovered(
int objId);
121 bool loadSettings(
const QString & path);
122 bool saveSettings(
const QString & path)
const;
123 int loadObjects(
const QString & dirPath,
bool recursive =
false);
124 int saveObjects(
const QString & dirPath);
125 void setupTCPServer();
126 int addObjectFromFile(
const QString & filePath);
129 void updateVocabulary(
const QList<int> & ids = QList<int>());
130 void updateObjects(
const QList<int> & ids);
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val)
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
QMap< int, QByteArray > imagesMap_
rtabmap::PdfPlotCurve * likelihoodCurve_
QMap< QString, QVariant > lastObjectsUpdateParameters_
AboutDialog * aboutDialog_
rtabmap::PdfPlotCurve * inliersCurve_
QMap< int, find_object::ObjWidget * > objWidgets_