Public Member Functions | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes
find_object::AddObjectDialog Class Reference

#include <AddObjectDialog.h>

List of all members.

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

Cameracamera_
cv::Mat cameraImage_
KeypointDetectordetector_
DescriptorExtractorextractor_
ObjSignatureobjSignature_
ObjWidgetobjWidget_
cv::Rect roi_
int state_
Ui_addObjectDialog * ui_

Detailed Description

Definition at line 47 of file AddObjectDialog.h.


Member Enumeration Documentation

Enumerator:
kTakePicture 
kSelectFeatures 
kVerifySelection 
kClosing 

Definition at line 84 of file AddObjectDialog.h.


Constructor & Destructor Documentation

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.

Definition at line 84 of file AddObjectDialog.cpp.


Member Function Documentation

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.

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.

Definition at line 101 of file AddObjectDialog.cpp.

void find_object::AddObjectDialog::setState ( int  state) [private]

Definition at line 206 of file AddObjectDialog.cpp.

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.

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.


Member Data Documentation

Definition at line 76 of file AddObjectDialog.h.

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.

Definition at line 80 of file AddObjectDialog.h.

Definition at line 85 of file AddObjectDialog.h.

Ui_addObjectDialog* find_object::AddObjectDialog::ui_ [private]

Definition at line 75 of file AddObjectDialog.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Aug 27 2015 13:00:34