Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
find_object::MainWindow Class Reference

#include <MainWindow.h>

Inheritance diagram for find_object::MainWindow:
Inheritance graph
[legend]

Public Slots

void pauseProcessing ()
 
void startProcessing ()
 
void stopProcessing ()
 
void update (const cv::Mat &image)
 

Signals

void objectsFound (const find_object::DetectionInfo &)
 

Public Member Functions

 MainWindow (find_object::FindObject *findObject, find_object::Camera *camera=0, QWidget *parent=0)
 
void setSourceImageText (const QString &text)
 
virtual ~MainWindow ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 

Private Slots

void addObjectFromScene ()
 
void addObjectFromTcp (const cv::Mat &image, int id, const QString &filePath)
 
void addObjectsFromFiles (const QStringList &fileNames)
 
void addObjectsFromFiles ()
 
void hideObjectsFeatures ()
 
void loadObjects ()
 
void loadSceneFromFile (const QStringList &fileNames)
 
void loadSceneFromFile ()
 
void loadSession ()
 
void loadSettings ()
 
void loadVocabulary ()
 
void moveCameraFrame (int frame)
 
void notifyParametersChanged (const QStringList &param)
 
void rectHovered (int objId)
 
void removeAllObjects ()
 
void removeObject (find_object::ObjWidget *object)
 
void removeObject (int id)
 
bool saveObjects ()
 
void saveSession ()
 
void saveSettings ()
 
void saveVocabulary ()
 
void setupCameraFromImagesDirectory ()
 
void setupCameraFromTcpIp ()
 
void setupCameraFromVideoFile ()
 
void showHideControls ()
 
void showObjectsFeatures ()
 
void updateMirrorView ()
 
void updateObjects ()
 
void updateObjectsSize ()
 

Private Member Functions

int addObjectFromFile (const QString &filePath)
 
int loadObjects (const QString &dirPath, bool recursive=false)
 
bool loadSettings (const QString &path)
 
int saveObjects (const QString &dirPath)
 
bool saveSettings (const QString &path) const
 
void setupTCPServer ()
 
void showObject (find_object::ObjWidget *obj)
 
void updateObjects (const QList< int > &ids)
 
void updateObjectSize (find_object::ObjWidget *obj)
 
void updateVocabulary (const QList< int > &ids=QList< int >())
 

Private Attributes

AboutDialogaboutDialog_
 
Cameracamera_
 
FindObjectfindObject_
 
QMap< int, QByteArray > imagesMap_
 
rtabmap::PdfPlotCurveinliersCurve_
 
QMap< QString, QVariant > lastObjectsUpdateParameters_
 
rtabmap::PdfPlotCurvelikelihoodCurve_
 
int lowestRefreshRate_
 
bool objectsModified_
 
QMap< int, find_object::ObjWidget * > objWidgets_
 
QTime refreshStartTime_
 
cv::Mat sceneImage_
 
TcpServertcpServer_
 
Ui_mainWindow * ui_
 
QTime updateRate_
 

Detailed Description

Definition at line 64 of file MainWindow.h.

Constructor & Destructor Documentation

find_object::MainWindow::MainWindow ( find_object::FindObject findObject,
find_object::Camera camera = 0,
QWidget *  parent = 0 
)

Definition at line 82 of file MainWindow.cpp.

find_object::MainWindow::~MainWindow ( )
virtual

Definition at line 279 of file MainWindow.cpp.

Member Function Documentation

int find_object::MainWindow::addObjectFromFile ( const QString &  filePath)
private

Definition at line 851 of file MainWindow.cpp.

void find_object::MainWindow::addObjectFromScene ( )
privateslot

Definition at line 778 of file MainWindow.cpp.

void find_object::MainWindow::addObjectFromTcp ( const cv::Mat &  image,
int  id,
const QString &  filePath 
)
privateslot

Definition at line 870 of file MainWindow.cpp.

void find_object::MainWindow::addObjectsFromFiles ( const QStringList &  fileNames)
privateslot

Definition at line 825 of file MainWindow.cpp.

void find_object::MainWindow::addObjectsFromFiles ( )
privateslot

Definition at line 846 of file MainWindow.cpp.

void find_object::MainWindow::closeEvent ( QCloseEvent *  event)
protectedvirtual

Definition at line 290 of file MainWindow.cpp.

void find_object::MainWindow::hideObjectsFeatures ( )
privateslot

Definition at line 770 of file MainWindow.cpp.

void find_object::MainWindow::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Definition at line 321 of file MainWindow.cpp.

void find_object::MainWindow::loadObjects ( )
privateslot

Definition at line 567 of file MainWindow.cpp.

int find_object::MainWindow::loadObjects ( const QString &  dirPath,
bool  recursive = false 
)
private

Definition at line 499 of file MainWindow.cpp.

void find_object::MainWindow::loadSceneFromFile ( const QStringList &  fileNames)
privateslot

Definition at line 894 of file MainWindow.cpp.

void find_object::MainWindow::loadSceneFromFile ( )
privateslot

Definition at line 908 of file MainWindow.cpp.

void find_object::MainWindow::loadSession ( )
privateslot

Definition at line 360 of file MainWindow.cpp.

void find_object::MainWindow::loadSettings ( )
privateslot

Definition at line 438 of file MainWindow.cpp.

bool find_object::MainWindow::loadSettings ( const QString &  path)
private

Definition at line 463 of file MainWindow.cpp.

void find_object::MainWindow::loadVocabulary ( )
privateslot

Definition at line 615 of file MainWindow.cpp.

void find_object::MainWindow::moveCameraFrame ( int  frame)
privateslot

Definition at line 1252 of file MainWindow.cpp.

void find_object::MainWindow::notifyParametersChanged ( const QStringList &  param)
privateslot

Definition at line 1599 of file MainWindow.cpp.

void find_object::MainWindow::objectsFound ( const find_object::DetectionInfo )
signal
void find_object::MainWindow::pauseProcessing ( )
slot

Definition at line 1233 of file MainWindow.cpp.

void find_object::MainWindow::rectHovered ( int  objId)
privateslot

Definition at line 1264 of file MainWindow.cpp.

void find_object::MainWindow::removeAllObjects ( )
privateslot

Definition at line 710 of file MainWindow.cpp.

void find_object::MainWindow::removeObject ( find_object::ObjWidget object)
privateslot

Definition at line 675 of file MainWindow.cpp.

void find_object::MainWindow::removeObject ( int  id)
privateslot

Definition at line 698 of file MainWindow.cpp.

bool find_object::MainWindow::saveObjects ( )
privateslot

Definition at line 596 of file MainWindow.cpp.

int find_object::MainWindow::saveObjects ( const QString &  dirPath)
private

Definition at line 545 of file MainWindow.cpp.

void find_object::MainWindow::saveSession ( )
privateslot

Definition at line 418 of file MainWindow.cpp.

void find_object::MainWindow::saveSettings ( )
privateslot

Definition at line 450 of file MainWindow.cpp.

bool find_object::MainWindow::saveSettings ( const QString &  path) const
private

Definition at line 487 of file MainWindow.cpp.

void find_object::MainWindow::saveVocabulary ( )
privateslot

Definition at line 650 of file MainWindow.cpp.

void find_object::MainWindow::setSourceImageText ( const QString &  text)

Definition at line 355 of file MainWindow.cpp.

void find_object::MainWindow::setupCameraFromImagesDirectory ( )
privateslot

Definition at line 953 of file MainWindow.cpp.

void find_object::MainWindow::setupCameraFromTcpIp ( )
privateslot

Definition at line 984 of file MainWindow.cpp.

void find_object::MainWindow::setupCameraFromVideoFile ( )
privateslot

Definition at line 922 of file MainWindow.cpp.

void find_object::MainWindow::setupTCPServer ( )
private

Definition at line 337 of file MainWindow.cpp.

void find_object::MainWindow::showHideControls ( )
privateslot

Definition at line 757 of file MainWindow.cpp.

void find_object::MainWindow::showObject ( find_object::ObjWidget obj)
private

Definition at line 1020 of file MainWindow.cpp.

void find_object::MainWindow::showObjectsFeatures ( )
privateslot

Definition at line 762 of file MainWindow.cpp.

void find_object::MainWindow::startProcessing ( )
slot

Definition at line 1146 of file MainWindow.cpp.

void find_object::MainWindow::stopProcessing ( )
slot

Definition at line 1209 of file MainWindow.cpp.

void find_object::MainWindow::update ( const cv::Mat &  image)
slot

Definition at line 1276 of file MainWindow.cpp.

void find_object::MainWindow::updateMirrorView ( )
privateslot

Definition at line 747 of file MainWindow.cpp.

void find_object::MainWindow::updateObjects ( )
privateslot

Definition at line 1067 of file MainWindow.cpp.

void find_object::MainWindow::updateObjects ( const QList< int > &  ids)
private

Definition at line 1072 of file MainWindow.cpp.

void find_object::MainWindow::updateObjectSize ( find_object::ObjWidget obj)
private

Definition at line 730 of file MainWindow.cpp.

void find_object::MainWindow::updateObjectsSize ( )
privateslot

Definition at line 722 of file MainWindow.cpp.

void find_object::MainWindow::updateVocabulary ( const QList< int > &  ids = QList<int>())
private

Definition at line 1112 of file MainWindow.cpp.

Member Data Documentation

AboutDialog* find_object::MainWindow::aboutDialog_
private

Definition at line 136 of file MainWindow.h.

Camera* find_object::MainWindow::camera_
private

Definition at line 132 of file MainWindow.h.

FindObject* find_object::MainWindow::findObject_
private

Definition at line 133 of file MainWindow.h.

QMap<int, QByteArray> find_object::MainWindow::imagesMap_
private

Definition at line 142 of file MainWindow.h.

rtabmap::PdfPlotCurve* find_object::MainWindow::inliersCurve_
private

Definition at line 135 of file MainWindow.h.

QMap<QString, QVariant> find_object::MainWindow::lastObjectsUpdateParameters_
private

Definition at line 143 of file MainWindow.h.

rtabmap::PdfPlotCurve* find_object::MainWindow::likelihoodCurve_
private

Definition at line 134 of file MainWindow.h.

int find_object::MainWindow::lowestRefreshRate_
private

Definition at line 140 of file MainWindow.h.

bool find_object::MainWindow::objectsModified_
private

Definition at line 141 of file MainWindow.h.

QMap<int, find_object::ObjWidget*> find_object::MainWindow::objWidgets_
private

Definition at line 137 of file MainWindow.h.

QTime find_object::MainWindow::refreshStartTime_
private

Definition at line 139 of file MainWindow.h.

cv::Mat find_object::MainWindow::sceneImage_
private

Definition at line 145 of file MainWindow.h.

TcpServer* find_object::MainWindow::tcpServer_
private

Definition at line 144 of file MainWindow.h.

Ui_mainWindow* find_object::MainWindow::ui_
private

Definition at line 131 of file MainWindow.h.

QTime find_object::MainWindow::updateRate_
private

Definition at line 138 of file MainWindow.h.


The documentation for this class was generated from the following files:


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 19:22:26