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