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 update (const cv::Mat &, const find_object::Header &, const cv::Mat &, float)
 
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 47 of file AddObjectDialog.h.

Member Enumeration Documentation

◆ State

Enumerator
kTakePicture 
kSelectFeatures 
kVerifySelection 
kClosing 

Definition at line 85 of file AddObjectDialog.h.

Constructor & Destructor Documentation

◆ AddObjectDialog()

find_object::AddObjectDialog::AddObjectDialog ( Camera camera,
const cv::Mat &  image,
bool  mirrorView,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Definition at line 51 of file AddObjectDialog.cpp.

◆ ~AddObjectDialog()

find_object::AddObjectDialog::~AddObjectDialog ( )
virtual

Definition at line 85 of file AddObjectDialog.cpp.

Member Function Documentation

◆ back

void find_object::AddObjectDialog::back ( )
privateslot

Definition at line 124 of file AddObjectDialog.cpp.

◆ cancel

void find_object::AddObjectDialog::cancel ( )
privateslot

Definition at line 128 of file AddObjectDialog.cpp.

◆ changeSelectionMode

void find_object::AddObjectDialog::changeSelectionMode ( )
privateslot

Definition at line 203 of file AddObjectDialog.cpp.

◆ closeEvent()

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

Definition at line 110 of file AddObjectDialog.cpp.

◆ computeROI()

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

Definition at line 417 of file AddObjectDialog.cpp.

◆ next

void find_object::AddObjectDialog::next ( )
privateslot

Definition at line 120 of file AddObjectDialog.cpp.

◆ retrieveObject()

void find_object::AddObjectDialog::retrieveObject ( ObjWidget **  widget,
ObjSignature **  signature 
)

Definition at line 102 of file AddObjectDialog.cpp.

◆ setState()

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

Definition at line 208 of file AddObjectDialog.cpp.

◆ takePicture

void find_object::AddObjectDialog::takePicture ( )
privateslot

Definition at line 132 of file AddObjectDialog.cpp.

◆ update [1/2]

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

Definition at line 382 of file AddObjectDialog.cpp.

◆ update [2/2]

void find_object::AddObjectDialog::update ( const cv::Mat &  image,
const find_object::Header header,
const cv::Mat &  depth,
float  depthConstant 
)
privateslot

Definition at line 387 of file AddObjectDialog.cpp.

◆ updateNextButton [1/2]

void find_object::AddObjectDialog::updateNextButton ( )
privateslot

Definition at line 137 of file AddObjectDialog.cpp.

◆ updateNextButton [2/2]

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

Definition at line 142 of file AddObjectDialog.cpp.

Member Data Documentation

◆ camera_

Camera* find_object::AddObjectDialog::camera_
private

Definition at line 77 of file AddObjectDialog.h.

◆ cameraImage_

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

Definition at line 80 of file AddObjectDialog.h.

◆ detector_

Feature2D* find_object::AddObjectDialog::detector_
private

Definition at line 82 of file AddObjectDialog.h.

◆ extractor_

Feature2D* find_object::AddObjectDialog::extractor_
private

Definition at line 83 of file AddObjectDialog.h.

◆ objSignature_

ObjSignature* find_object::AddObjectDialog::objSignature_
private

Definition at line 79 of file AddObjectDialog.h.

◆ objWidget_

ObjWidget* find_object::AddObjectDialog::objWidget_
private

Definition at line 78 of file AddObjectDialog.h.

◆ roi_

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

Definition at line 81 of file AddObjectDialog.h.

◆ state_

int find_object::AddObjectDialog::state_
private

Definition at line 86 of file AddObjectDialog.h.

◆ ui_

Ui_addObjectDialog* find_object::AddObjectDialog::ui_
private

Definition at line 76 of file AddObjectDialog.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Dec 12 2022 03:20:10