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

#include <AddObjectDialog.h>

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

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_
 
Feature2Ddetector_
 
Feature2Dextractor_
 
ObjSignatureobjSignature_
 
ObjWidgetobjWidget_
 
cv::Rect roi_
 
int state_
 
Ui_addObjectDialog * ui_
 

Detailed Description

Definition at line 46 of file AddObjectDialog.h.

Member Enumeration Documentation

Enumerator
kTakePicture 
kSelectFeatures 
kVerifySelection 
kClosing 

Definition at line 83 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.

find_object::AddObjectDialog::~AddObjectDialog ( )
virtual

Definition at line 84 of file AddObjectDialog.cpp.

Member Function Documentation

void find_object::AddObjectDialog::back ( )
privateslot

Definition at line 122 of file AddObjectDialog.cpp.

void find_object::AddObjectDialog::cancel ( )
privateslot

Definition at line 126 of file AddObjectDialog.cpp.

void find_object::AddObjectDialog::changeSelectionMode ( )
privateslot

Definition at line 201 of file AddObjectDialog.cpp.

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

Definition at line 109 of file AddObjectDialog.cpp.

cv::Rect find_object::AddObjectDialog::computeROI ( const std::vector< cv::KeyPoint > &  kpts)
private

Definition at line 400 of file AddObjectDialog.cpp.

void find_object::AddObjectDialog::next ( )
privateslot

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 ( )
privateslot

Definition at line 130 of file AddObjectDialog.cpp.

void find_object::AddObjectDialog::update ( const cv::Mat &  image)
privateslot

Definition at line 370 of file AddObjectDialog.cpp.

void find_object::AddObjectDialog::updateNextButton ( )
privateslot

Definition at line 135 of file AddObjectDialog.cpp.

void find_object::AddObjectDialog::updateNextButton ( const cv::Rect &  rect)
privateslot

Definition at line 140 of file AddObjectDialog.cpp.

Member Data Documentation

Camera* find_object::AddObjectDialog::camera_
private

Definition at line 75 of file AddObjectDialog.h.

cv::Mat find_object::AddObjectDialog::cameraImage_
private

Definition at line 78 of file AddObjectDialog.h.

Feature2D* find_object::AddObjectDialog::detector_
private

Definition at line 80 of file AddObjectDialog.h.

Feature2D* find_object::AddObjectDialog::extractor_
private

Definition at line 81 of file AddObjectDialog.h.

ObjSignature* find_object::AddObjectDialog::objSignature_
private

Definition at line 77 of file AddObjectDialog.h.

ObjWidget* find_object::AddObjectDialog::objWidget_
private

Definition at line 76 of file AddObjectDialog.h.

cv::Rect find_object::AddObjectDialog::roi_
private

Definition at line 79 of file AddObjectDialog.h.

int find_object::AddObjectDialog::state_
private

Definition at line 84 of file AddObjectDialog.h.

Ui_addObjectDialog* find_object::AddObjectDialog::ui_
private

Definition at line 74 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 Jun 6 2019 19:22:26