#include <KeypointItem.h>
Public Member Functions | |
| KeypointItem (int id, const cv::KeyPoint &kpt, float depth=0, const QColor &color=Qt::green, QGraphicsItem *parent=0) | |
| void | setColor (const QColor &color) |
| virtual | ~KeypointItem () |
Protected Member Functions | |
| virtual void | focusInEvent (QFocusEvent *event) |
| virtual void | focusOutEvent (QFocusEvent *event) |
| virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
| virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
Private Member Functions | |
| void | hideDescription () |
| void | showDescription () |
Private Attributes | |
| float | _depth |
| int | _id |
| cv::KeyPoint | _kpt |
| QGraphicsRectItem * | _placeHolder |
| int | _width |
Definition at line 41 of file KeypointItem.h.
| rtabmap::KeypointItem::KeypointItem | ( | int | id, |
| const cv::KeyPoint & | kpt, | ||
| float | depth = 0, |
||
| const QColor & | color = Qt::green, |
||
| QGraphicsItem * | parent = 0 |
||
| ) |
Definition at line 37 of file KeypointItem.cpp.
| rtabmap::KeypointItem::~KeypointItem | ( | ) | [virtual] |
Definition at line 50 of file KeypointItem.cpp.
| void rtabmap::KeypointItem::focusInEvent | ( | QFocusEvent * | event | ) | [protected, virtual] |
Definition at line 139 of file KeypointItem.cpp.
| void rtabmap::KeypointItem::focusOutEvent | ( | QFocusEvent * | event | ) | [protected, virtual] |
Definition at line 145 of file KeypointItem.cpp.
| void rtabmap::KeypointItem::hideDescription | ( | ) | [private] |
Definition at line 107 of file KeypointItem.cpp.
| void rtabmap::KeypointItem::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
Definition at line 116 of file KeypointItem.cpp.
| void rtabmap::KeypointItem::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
Definition at line 130 of file KeypointItem.cpp.
| void rtabmap::KeypointItem::setColor | ( | const QColor & | color | ) |
Definition at line 58 of file KeypointItem.cpp.
| void rtabmap::KeypointItem::showDescription | ( | ) | [private] |
Definition at line 64 of file KeypointItem.cpp.
float rtabmap::KeypointItem::_depth [private] |
Definition at line 64 of file KeypointItem.h.
int rtabmap::KeypointItem::_id [private] |
Definition at line 60 of file KeypointItem.h.
cv::KeyPoint rtabmap::KeypointItem::_kpt [private] |
Definition at line 61 of file KeypointItem.h.
QGraphicsRectItem* rtabmap::KeypointItem::_placeHolder [private] |
Definition at line 62 of file KeypointItem.h.
int rtabmap::KeypointItem::_width [private] |
Definition at line 63 of file KeypointItem.h.