Public Member Functions | |
int | id () const |
int | mapId () const |
NodeItem (int id, int mapId, const Transform &pose, float radius) | |
const Transform & | pose () const |
void | setColor (const QColor &color) |
void | setPose (const Transform &pose) |
void | setRadius (float radius) |
virtual | ~NodeItem () |
Protected Member Functions | |
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
Private Attributes | |
int | _id |
QGraphicsLineItem * | _line |
int | _mapId |
Transform | _pose |
Definition at line 59 of file GraphViewer.cpp.
rtabmap::NodeItem::NodeItem | ( | int | id, |
int | mapId, | ||
const Transform & | pose, | ||
float | radius | ||
) | [inline] |
Definition at line 63 of file GraphViewer.cpp.
virtual rtabmap::NodeItem::~NodeItem | ( | ) | [inline, virtual] |
Definition at line 78 of file GraphViewer.cpp.
virtual void rtabmap::NodeItem::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [inline, protected, virtual] |
Reimplemented in rtabmap::NodeGPSItem.
Definition at line 107 of file GraphViewer.cpp.
virtual void rtabmap::NodeItem::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [inline, protected, virtual] |
Definition at line 114 of file GraphViewer.cpp.
int rtabmap::NodeItem::id | ( | ) | const [inline] |
Definition at line 101 of file GraphViewer.cpp.
int rtabmap::NodeItem::mapId | ( | ) | const [inline] |
Definition at line 102 of file GraphViewer.cpp.
const Transform& rtabmap::NodeItem::pose | ( | ) | const [inline] |
Definition at line 103 of file GraphViewer.cpp.
void rtabmap::NodeItem::setColor | ( | const QColor & | color | ) | [inline] |
Definition at line 80 of file GraphViewer.cpp.
void rtabmap::NodeItem::setPose | ( | const Transform & | pose | ) | [inline] |
Definition at line 104 of file GraphViewer.cpp.
void rtabmap::NodeItem::setRadius | ( | float | radius | ) | [inline] |
Definition at line 92 of file GraphViewer.cpp.
int rtabmap::NodeItem::_id [private] |
Definition at line 121 of file GraphViewer.cpp.
QGraphicsLineItem* rtabmap::NodeItem::_line [private] |
Definition at line 124 of file GraphViewer.cpp.
int rtabmap::NodeItem::_mapId [private] |
Definition at line 122 of file GraphViewer.cpp.
Transform rtabmap::NodeItem::_pose [private] |
Definition at line 123 of file GraphViewer.cpp.