35 #include <QMainWindow> 36 #include <QtCore/QSet> 37 #include <QtCore/QTimer> 38 #include <QtCore/QTime> 39 #include <QtCore/QMap> 40 #include <QtCore/QByteArray> 42 #include <opencv2/opencv.hpp> 56 class ParametersToolBox;
59 class KeypointDetector;
60 class DescriptorExtractor;
72 void setSourceImageText(
const QString & text);
75 virtual void closeEvent(QCloseEvent * event);
76 virtual void keyPressEvent(QKeyEvent *event);
79 void startProcessing();
80 void stopProcessing();
81 void pauseProcessing();
82 void update(
const cv::Mat & image);
91 void loadVocabulary();
92 void saveVocabulary();
93 void addObjectFromScene();
94 void addObjectsFromFiles(
const QStringList & fileNames);
95 void addObjectsFromFiles();
96 void addObjectFromTcp(
const cv::Mat & image,
int id,
const QString & filePath);
97 void loadSceneFromFile(
const QStringList & fileNames);
98 void loadSceneFromFile();
99 void setupCameraFromVideoFile();
100 void setupCameraFromImagesDirectory();
101 void setupCameraFromTcpIp();
103 void removeObject(
int id);
104 void removeAllObjects();
105 void updateObjectsSize();
106 void updateMirrorView();
107 void showHideControls();
108 void showObjectsFeatures();
109 void hideObjectsFeatures();
110 void updateObjects();
111 void notifyParametersChanged(
const QStringList &
param);
112 void moveCameraFrame(
int frame);
113 void rectHovered(
int objId);
119 bool loadSettings(
const QString & path);
120 bool saveSettings(
const QString & path)
const;
121 int loadObjects(
const QString & dirPath,
bool recursive =
false);
122 int saveObjects(
const QString & dirPath);
123 void setupTCPServer();
124 int addObjectFromFile(
const QString & filePath);
127 void updateVocabulary(
const QList<int> & ids = QList<int>());
128 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_