Public Slots | Public Member Functions | Private Types | Private Member Functions | Private Attributes
ObjectRecognitionDisplay Class Reference

Widget displaying information about the object recognition process. More...

#include <ObjectRecognitionDisplay.h>

List of all members.

Public Slots

void cellClicked (int row, int column)
void deleteObject ()
void grabImage ()
void loadImage ()
void loadObject (std::string file)
void loadObjectDialog ()
void optionsChanged ()
 process incoming messages
void setCameraId (ImageSources::SourceId cameraId)
void startLoop ()
void stopLoop ()

Public Member Functions

 ObjectRecognitionDisplay (ros::NodeHandle *nh, QBoxLayout *checkBoxLayout, QWidget *parent=0)
void updateObjectTable (std::vector< std::string > names, std::vector< std::string > types)
 ~ObjectRecognitionDisplay ()

Private Types

enum  Stage3MatcherT { HomographyMat = 1, FundamentalMat = 2 }

Private Member Functions

void addCheckBox (QBoxLayout *checkBoxLayout, std::map< std::string, QCheckBox * > &CBMap, std::string id, std::string label, bool checked=true)
void initBinChooser ()
void updateDisplay ()
void updateMatches (MatchResult &matchResult, std::list< KeyPointMatch > &matches)

Private Attributes

QComboBox * binChooserComboBox
std::vector< Box2D< int > > m_BoundingBoxes
ImageSources::SourceId m_CameraId
QPushButton * m_DeleteObjectButton
GLImageWidgetm_GlImageWidget
QString m_LastOpenPath
std::vector< MatchResultm_MatchResults
QVBoxLayout * m_ObjCheckboxLayout
std::map< std::string, int > m_ObjectRows
QGroupBox * m_ObjectsGroupBox
QTableWidget * m_ObjectsList
std::map< std::string,
QCheckBox * > 
m_OptionCheckBoxes
ros::Publisher m_ORCommandPublisher
bool m_Ready
std::vector< KeyPointm_SceneKeyPoints
int m_SelectedRow
Stage3MatcherT m_Stage3Matcher

Detailed Description

Widget displaying information about the object recognition process.

Author:
David Gossow (RX)

Definition at line 50 of file ObjectRecognitionDisplay.h.


Member Enumeration Documentation

Enumerator:
HomographyMat 
FundamentalMat 

Definition at line 92 of file ObjectRecognitionDisplay.h.


Constructor & Destructor Documentation

ObjectRecognitionDisplay::ObjectRecognitionDisplay ( ros::NodeHandle nh,
QBoxLayout *  checkBoxLayout,
QWidget *  parent = 0 
)

Member Function Documentation

void ObjectRecognitionDisplay::addCheckBox ( QBoxLayout *  checkBoxLayout,
std::map< std::string, QCheckBox * > &  CBMap,
std::string  id,
std::string  label,
bool  checked = true 
) [private]
void ObjectRecognitionDisplay::cellClicked ( int  row,
int  column 
) [slot]

Used to delete objects

void ObjectRecognitionDisplay::loadObject ( std::string  file) [slot]

Used to load objects from disk

process incoming messages

void ObjectRecognitionDisplay::updateMatches ( MatchResult matchResult,
std::list< KeyPointMatch > &  matches 
) [private]
void ObjectRecognitionDisplay::updateObjectTable ( std::vector< std::string >  names,
std::vector< std::string >  types 
)

Member Data Documentation

Definition at line 121 of file ObjectRecognitionDisplay.h.

std::vector< Box2D<int> > ObjectRecognitionDisplay::m_BoundingBoxes [private]

Definition at line 132 of file ObjectRecognitionDisplay.h.

Definition at line 127 of file ObjectRecognitionDisplay.h.

Definition at line 115 of file ObjectRecognitionDisplay.h.

Definition at line 104 of file ObjectRecognitionDisplay.h.

Definition at line 124 of file ObjectRecognitionDisplay.h.

Definition at line 131 of file ObjectRecognitionDisplay.h.

Definition at line 120 of file ObjectRecognitionDisplay.h.

std::map< std::string, int > ObjectRecognitionDisplay::m_ObjectRows [private]

Definition at line 112 of file ObjectRecognitionDisplay.h.

Definition at line 116 of file ObjectRecognitionDisplay.h.

QTableWidget* ObjectRecognitionDisplay::m_ObjectsList [private]

Definition at line 110 of file ObjectRecognitionDisplay.h.

std::map< std::string, QCheckBox* > ObjectRecognitionDisplay::m_OptionCheckBoxes [private]

Definition at line 119 of file ObjectRecognitionDisplay.h.

Definition at line 136 of file ObjectRecognitionDisplay.h.

Definition at line 139 of file ObjectRecognitionDisplay.h.

Definition at line 130 of file ObjectRecognitionDisplay.h.

Definition at line 113 of file ObjectRecognitionDisplay.h.

Definition at line 134 of file ObjectRecognitionDisplay.h.


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


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43