Widget displaying information about the object recognition process. More...
#include <ObjectRecognitionDisplay.h>
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 |
GLImageWidget * | m_GlImageWidget |
QString | m_LastOpenPath |
std::vector< MatchResult > | m_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< KeyPoint > | m_SceneKeyPoints |
int | m_SelectedRow |
Stage3MatcherT | m_Stage3Matcher |
Widget displaying information about the object recognition process.
Definition at line 50 of file ObjectRecognitionDisplay.h.
enum ObjectRecognitionDisplay::Stage3MatcherT [private] |
Definition at line 92 of file ObjectRecognitionDisplay.h.
ObjectRecognitionDisplay::ObjectRecognitionDisplay | ( | ros::NodeHandle * | nh, |
QBoxLayout * | checkBoxLayout, | ||
QWidget * | parent = 0 |
||
) |
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] |
void ObjectRecognitionDisplay::deleteObject | ( | ) | [slot] |
Used to delete objects
void ObjectRecognitionDisplay::grabImage | ( | ) | [slot] |
void ObjectRecognitionDisplay::initBinChooser | ( | ) | [private] |
void ObjectRecognitionDisplay::loadImage | ( | ) | [slot] |
void ObjectRecognitionDisplay::loadObject | ( | std::string | file | ) | [slot] |
void ObjectRecognitionDisplay::loadObjectDialog | ( | ) | [slot] |
Used to load objects from disk
void ObjectRecognitionDisplay::optionsChanged | ( | ) | [slot] |
process incoming messages
void ObjectRecognitionDisplay::setCameraId | ( | ImageSources::SourceId | cameraId | ) | [slot] |
void ObjectRecognitionDisplay::startLoop | ( | ) | [slot] |
void ObjectRecognitionDisplay::stopLoop | ( | ) | [slot] |
void ObjectRecognitionDisplay::updateDisplay | ( | ) | [private] |
void ObjectRecognitionDisplay::updateMatches | ( | MatchResult & | matchResult, |
std::list< KeyPointMatch > & | matches | ||
) | [private] |
void ObjectRecognitionDisplay::updateObjectTable | ( | std::vector< std::string > | names, |
std::vector< std::string > | types | ||
) |
QComboBox* ObjectRecognitionDisplay::binChooserComboBox [private] |
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.
QPushButton* ObjectRecognitionDisplay::m_DeleteObjectButton [private] |
Definition at line 115 of file ObjectRecognitionDisplay.h.
Definition at line 104 of file ObjectRecognitionDisplay.h.
QString ObjectRecognitionDisplay::m_LastOpenPath [private] |
Definition at line 124 of file ObjectRecognitionDisplay.h.
std::vector<MatchResult> ObjectRecognitionDisplay::m_MatchResults [private] |
Definition at line 131 of file ObjectRecognitionDisplay.h.
QVBoxLayout* ObjectRecognitionDisplay::m_ObjCheckboxLayout [private] |
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.
QGroupBox* ObjectRecognitionDisplay::m_ObjectsGroupBox [private] |
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.
bool ObjectRecognitionDisplay::m_Ready [private] |
Definition at line 139 of file ObjectRecognitionDisplay.h.
std::vector< KeyPoint > ObjectRecognitionDisplay::m_SceneKeyPoints [private] |
Definition at line 130 of file ObjectRecognitionDisplay.h.
int ObjectRecognitionDisplay::m_SelectedRow [private] |
Definition at line 113 of file ObjectRecognitionDisplay.h.
Definition at line 134 of file ObjectRecognitionDisplay.h.