#include <ObjWidget.h>
|
void | addRect (QGraphicsRectItem *rect) |
|
void | clearRoiSelection () |
|
const QColor & | color () const |
|
QColor | defaultColor (int id) const |
|
QPixmap | getSceneAsPixmap () |
|
int | id () const |
|
bool | isFeaturesShown () const |
|
bool | isImageShown () const |
|
bool | isMirrorView () const |
|
bool | isSizedFeatures () const |
|
const std::vector< cv::KeyPoint > | keypoints () const |
|
| ObjWidget (QWidget *parent=0) |
|
| ObjWidget (int id, const std::vector< cv::KeyPoint > &keypoints, const QMultiMap< int, int > &words, const QImage &image, QWidget *parent=0) |
|
const QPixmap & | pixmap () const |
|
void | resetKptsColor () |
|
void | resetKptsWordID () |
|
QList< QGraphicsItem * > | selectedItems () const |
|
std::vector< cv::KeyPoint > | selectedKeypoints () const |
|
void | setAlpha (int alpha) |
|
void | setAutoScale (bool autoScale) |
|
void | setDeletable (bool deletable) |
|
void | setFeaturesShown (bool shown) |
|
void | setGraphicsViewMode (bool on) |
|
void | setId (int id) |
|
void | setImageShown (bool shown) |
|
void | setKptColor (int index, const QColor &color) |
|
void | setKptWordID (int index, int wordId) |
|
void | setMirrorView (bool on) |
|
void | setSizedFeatures (bool on) |
|
void | setTextLabel (const QString &text) |
|
void | updateData (const std::vector< cv::KeyPoint > &keypoints, const QMultiMap< int, int > &words=QMultiMap< int, int >()) |
|
void | updateImage (const QImage &image) |
|
void | updateWords (const QMultiMap< int, int > &words) |
|
const QMap< int, int > & | words () const |
|
virtual | ~ObjWidget () |
|
Definition at line 50 of file ObjWidget.h.
◆ ObjWidget() [1/2]
find_object::ObjWidget::ObjWidget |
( |
QWidget * |
parent = 0 | ) |
|
◆ ObjWidget() [2/2]
find_object::ObjWidget::ObjWidget |
( |
int |
id, |
|
|
const std::vector< cv::KeyPoint > & |
keypoints, |
|
|
const QMultiMap< int, int > & |
words, |
|
|
const QImage & |
image, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~ObjWidget()
find_object::ObjWidget::~ObjWidget |
( |
| ) |
|
|
virtual |
◆ addRect()
void find_object::ObjWidget::addRect |
( |
QGraphicsRectItem * |
rect | ) |
|
◆ clearRoiSelection()
void find_object::ObjWidget::clearRoiSelection |
( |
| ) |
|
|
inline |
◆ color()
const QColor& find_object::ObjWidget::color |
( |
| ) |
const |
|
inline |
◆ computeScaleOffsets()
void find_object::ObjWidget::computeScaleOffsets |
( |
float & |
scale, |
|
|
float & |
offsetX, |
|
|
float & |
offsetY |
|
) |
| |
|
private |
◆ contextMenuEvent()
void find_object::ObjWidget::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
protectedvirtual |
◆ defaultColor()
QColor find_object::ObjWidget::defaultColor |
( |
int |
id | ) |
const |
◆ drawKeypoints()
void find_object::ObjWidget::drawKeypoints |
( |
QPainter * |
painter = 0 | ) |
|
|
private |
◆ getSceneAsPixmap()
QPixmap find_object::ObjWidget::getSceneAsPixmap |
( |
| ) |
|
◆ id()
int find_object::ObjWidget::id |
( |
| ) |
const |
|
inline |
◆ isFeaturesShown()
bool find_object::ObjWidget::isFeaturesShown |
( |
| ) |
const |
◆ isImageShown()
bool find_object::ObjWidget::isImageShown |
( |
| ) |
const |
◆ isMirrorView()
bool find_object::ObjWidget::isMirrorView |
( |
| ) |
const |
◆ isSizedFeatures()
bool find_object::ObjWidget::isSizedFeatures |
( |
| ) |
const |
◆ keypoints()
const std::vector<cv::KeyPoint> find_object::ObjWidget::keypoints |
( |
| ) |
const |
|
inline |
◆ mouseMoveEvent()
void find_object::ObjWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ mousePressEvent()
void find_object::ObjWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ mouseReleaseEvent()
void find_object::ObjWidget::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ paintEvent()
void find_object::ObjWidget::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
◆ pixmap()
const QPixmap& find_object::ObjWidget::pixmap |
( |
| ) |
const |
|
inline |
◆ removalTriggered
◆ resetKptsColor()
void find_object::ObjWidget::resetKptsColor |
( |
| ) |
|
◆ resetKptsWordID()
void find_object::ObjWidget::resetKptsWordID |
( |
| ) |
|
◆ resizeEvent()
void find_object::ObjWidget::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
◆ roiChanged
void find_object::ObjWidget::roiChanged |
( |
const cv::Rect & |
| ) |
|
|
signal |
◆ selectedItems()
QList< QGraphicsItem * > find_object::ObjWidget::selectedItems |
( |
| ) |
const |
◆ selectedKeypoints()
std::vector< cv::KeyPoint > find_object::ObjWidget::selectedKeypoints |
( |
| ) |
const |
◆ selectionChanged
void find_object::ObjWidget::selectionChanged |
( |
| ) |
|
|
signal |
◆ setAlpha()
void find_object::ObjWidget::setAlpha |
( |
int |
alpha | ) |
|
◆ setAutoScale()
void find_object::ObjWidget::setAutoScale |
( |
bool |
autoScale | ) |
|
◆ setDeletable()
void find_object::ObjWidget::setDeletable |
( |
bool |
deletable | ) |
|
◆ setFeaturesShown()
void find_object::ObjWidget::setFeaturesShown |
( |
bool |
shown | ) |
|
◆ setGraphicsViewMode()
void find_object::ObjWidget::setGraphicsViewMode |
( |
bool |
on | ) |
|
◆ setId()
void find_object::ObjWidget::setId |
( |
int |
id | ) |
|
◆ setImageShown()
void find_object::ObjWidget::setImageShown |
( |
bool |
shown | ) |
|
◆ setKptColor()
void find_object::ObjWidget::setKptColor |
( |
int |
index, |
|
|
const QColor & |
color |
|
) |
| |
◆ setKptWordID()
void find_object::ObjWidget::setKptWordID |
( |
int |
index, |
|
|
int |
wordId |
|
) |
| |
◆ setMirrorView()
void find_object::ObjWidget::setMirrorView |
( |
bool |
on | ) |
|
◆ setSizedFeatures()
void find_object::ObjWidget::setSizedFeatures |
( |
bool |
on | ) |
|
◆ setTextLabel()
void find_object::ObjWidget::setTextLabel |
( |
const QString & |
text | ) |
|
◆ setupGraphicsView()
void find_object::ObjWidget::setupGraphicsView |
( |
| ) |
|
|
private |
◆ setupUi()
void find_object::ObjWidget::setupUi |
( |
| ) |
|
|
private |
◆ updateData()
void find_object::ObjWidget::updateData |
( |
const std::vector< cv::KeyPoint > & |
keypoints, |
|
|
const QMultiMap< int, int > & |
words = QMultiMap<int, int>() |
|
) |
| |
◆ updateImage()
void find_object::ObjWidget::updateImage |
( |
const QImage & |
image | ) |
|
◆ updateItemsShown()
void find_object::ObjWidget::updateItemsShown |
( |
| ) |
|
|
private |
◆ updateWords()
void find_object::ObjWidget::updateWords |
( |
const QMultiMap< int, int > & |
words | ) |
|
◆ words()
const QMap<int,int>& find_object::ObjWidget::words |
( |
| ) |
const |
|
inline |
◆ alpha_
int find_object::ObjWidget::alpha_ |
|
private |
◆ autoScale_
QAction* find_object::ObjWidget::autoScale_ |
|
private |
◆ color_
QColor find_object::ObjWidget::color_ |
|
private |
◆ delete_
QAction* find_object::ObjWidget::delete_ |
|
private |
◆ graphicsView_
QGraphicsView* find_object::ObjWidget::graphicsView_ |
|
private |
◆ graphicsViewInitialized_
bool find_object::ObjWidget::graphicsViewInitialized_ |
|
private |
◆ graphicsViewMode_
QAction* find_object::ObjWidget::graphicsViewMode_ |
|
private |
◆ id_
int find_object::ObjWidget::id_ |
|
private |
◆ keypointItems_
◆ keypoints_
std::vector<cv::KeyPoint> find_object::ObjWidget::keypoints_ |
|
private |
◆ kptColors_
QVector<QColor> find_object::ObjWidget::kptColors_ |
|
private |
◆ label_
QLabel* find_object::ObjWidget::label_ |
|
private |
◆ menu_
QMenu* find_object::ObjWidget::menu_ |
|
private |
◆ mirrorView_
QAction* find_object::ObjWidget::mirrorView_ |
|
private |
◆ mouseCurrentPos_
QPoint find_object::ObjWidget::mouseCurrentPos_ |
|
private |
◆ mousePressedPos_
QPoint find_object::ObjWidget::mousePressedPos_ |
|
private |
◆ pixmap_
QPixmap find_object::ObjWidget::pixmap_ |
|
private |
◆ rect_
QRect find_object::ObjWidget::rect_ |
|
private |
◆ rectItems_
QList<QGraphicsRectItem*> find_object::ObjWidget::rectItems_ |
|
private |
◆ savedFileName_
QString find_object::ObjWidget::savedFileName_ |
|
private |
◆ saveImage_
QAction* find_object::ObjWidget::saveImage_ |
|
private |
◆ setAlpha_
QAction* find_object::ObjWidget::setAlpha_ |
|
private |
◆ setColor_
QAction* find_object::ObjWidget::setColor_ |
|
private |
◆ showFeatures_
QAction* find_object::ObjWidget::showFeatures_ |
|
private |
◆ showImage_
QAction* find_object::ObjWidget::showImage_ |
|
private |
◆ sizedFeatures_
QAction* find_object::ObjWidget::sizedFeatures_ |
|
private |
◆ words_
QMap<int,int> find_object::ObjWidget::words_ |
|
private |
The documentation for this class was generated from the following files: