Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rtabmap::KeypointItem Class Reference

#include <KeypointItem.h>

Inheritance diagram for rtabmap::KeypointItem:
Inheritance graph
[legend]

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.

rtabmap::KeypointItem::~KeypointItem ( )
virtual

Definition at line 50 of file KeypointItem.cpp.

Member Function Documentation

void rtabmap::KeypointItem::focusInEvent ( QFocusEvent *  event)
protectedvirtual

Definition at line 151 of file KeypointItem.cpp.

void rtabmap::KeypointItem::focusOutEvent ( QFocusEvent *  event)
protectedvirtual

Definition at line 157 of file KeypointItem.cpp.

void rtabmap::KeypointItem::hideDescription ( )
private

Definition at line 119 of file KeypointItem.cpp.

void rtabmap::KeypointItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event)
protectedvirtual

Definition at line 128 of file KeypointItem.cpp.

void rtabmap::KeypointItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event)
protectedvirtual

Definition at line 142 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.

void rtabmap::KeypointItem::showDescription ( )
private

Definition at line 61 of file KeypointItem.cpp.

Member Data Documentation

float rtabmap::KeypointItem::_depth
private

Definition at line 65 of file KeypointItem.h.

int rtabmap::KeypointItem::_id
private

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.

int rtabmap::KeypointItem::_width
private

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 Mon Dec 14 2020 03:37:08