#include <AddObjectDialog.h>
Public Member Functions | |
AddObjectDialog (Camera *camera, const cv::Mat &image, bool mirrorView, QWidget *parent=0, Qt::WindowFlags f=0) | |
void | retrieveObject (ObjWidget **widget, ObjSignature **signature) |
virtual | ~AddObjectDialog () |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) |
Private Types | |
enum | State { kTakePicture, kSelectFeatures, kVerifySelection, kClosing } |
Private Slots | |
void | back () |
void | cancel () |
void | changeSelectionMode () |
void | next () |
void | takePicture () |
void | update (const cv::Mat &) |
void | updateNextButton () |
void | updateNextButton (const cv::Rect &) |
Private Member Functions | |
cv::Rect | computeROI (const std::vector< cv::KeyPoint > &kpts) |
void | setState (int state) |
Private Attributes | |
Camera * | camera_ |
cv::Mat | cameraImage_ |
KeypointDetector * | detector_ |
DescriptorExtractor * | extractor_ |
ObjSignature * | objSignature_ |
ObjWidget * | objWidget_ |
cv::Rect | roi_ |
int | state_ |
Ui_addObjectDialog * | ui_ |
Definition at line 47 of file AddObjectDialog.h.
enum find_object::AddObjectDialog::State [private] |
Definition at line 84 of file AddObjectDialog.h.
find_object::AddObjectDialog::AddObjectDialog | ( | Camera * | camera, |
const cv::Mat & | image, | ||
bool | mirrorView, | ||
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 50 of file AddObjectDialog.cpp.
find_object::AddObjectDialog::~AddObjectDialog | ( | ) | [virtual] |
Definition at line 84 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::back | ( | ) | [private, slot] |
Definition at line 122 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::cancel | ( | ) | [private, slot] |
Definition at line 126 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::changeSelectionMode | ( | ) | [private, slot] |
Definition at line 201 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual] |
Definition at line 109 of file AddObjectDialog.cpp.
cv::Rect find_object::AddObjectDialog::computeROI | ( | const std::vector< cv::KeyPoint > & | kpts | ) | [private] |
Definition at line 398 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::next | ( | ) | [private, slot] |
Definition at line 118 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::retrieveObject | ( | ObjWidget ** | widget, |
ObjSignature ** | signature | ||
) |
Definition at line 101 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::setState | ( | int | state | ) | [private] |
Definition at line 206 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::takePicture | ( | ) | [private, slot] |
Definition at line 130 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::update | ( | const cv::Mat & | image | ) | [private, slot] |
Definition at line 369 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::updateNextButton | ( | ) | [private, slot] |
Definition at line 135 of file AddObjectDialog.cpp.
void find_object::AddObjectDialog::updateNextButton | ( | const cv::Rect & | rect | ) | [private, slot] |
Definition at line 140 of file AddObjectDialog.cpp.
Camera* find_object::AddObjectDialog::camera_ [private] |
Definition at line 76 of file AddObjectDialog.h.
cv::Mat find_object::AddObjectDialog::cameraImage_ [private] |
Definition at line 79 of file AddObjectDialog.h.
Definition at line 81 of file AddObjectDialog.h.
Definition at line 82 of file AddObjectDialog.h.
Definition at line 78 of file AddObjectDialog.h.
Definition at line 77 of file AddObjectDialog.h.
cv::Rect find_object::AddObjectDialog::roi_ [private] |
Definition at line 80 of file AddObjectDialog.h.
int find_object::AddObjectDialog::state_ [private] |
Definition at line 85 of file AddObjectDialog.h.
Ui_addObjectDialog* find_object::AddObjectDialog::ui_ [private] |
Definition at line 75 of file AddObjectDialog.h.