Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rtabmap::KeypointItem Class Reference

#include <KeypointItem.h>

List of all members.

Public Member Functions

const cv::KeyPoint & keypoint () const
 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

Detailed Description

Definition at line 41 of file KeypointItem.h.


Constructor & Destructor Documentation

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.

Definition at line 50 of file KeypointItem.cpp.


Member Function Documentation

void rtabmap::KeypointItem::focusInEvent ( QFocusEvent *  event) [protected, virtual]

Definition at line 145 of file KeypointItem.cpp.

void rtabmap::KeypointItem::focusOutEvent ( QFocusEvent *  event) [protected, virtual]

Definition at line 151 of file KeypointItem.cpp.

Definition at line 113 of file KeypointItem.cpp.

void rtabmap::KeypointItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event) [protected, virtual]

Definition at line 122 of file KeypointItem.cpp.

void rtabmap::KeypointItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event) [protected, virtual]

Definition at line 136 of file KeypointItem.cpp.

const cv::KeyPoint& rtabmap::KeypointItem::keypoint ( ) const [inline]

Definition at line 48 of file KeypointItem.h.

void rtabmap::KeypointItem::setColor ( const QColor &  color)

Definition at line 55 of file KeypointItem.cpp.

Definition at line 61 of file KeypointItem.cpp.


Member Data Documentation

Definition at line 65 of file KeypointItem.h.

Definition at line 61 of file KeypointItem.h.

cv::KeyPoint rtabmap::KeypointItem::_kpt [private]

Definition at line 62 of file KeypointItem.h.

QGraphicsRectItem* rtabmap::KeypointItem::_placeHolder [private]

Definition at line 63 of file KeypointItem.h.

Definition at line 64 of file KeypointItem.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:41