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

◆ KeypointItem()

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.

◆ ~KeypointItem()

rtabmap::KeypointItem::~KeypointItem ( )
virtual

Definition at line 50 of file KeypointItem.cpp.

Member Function Documentation

◆ focusInEvent()

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

Definition at line 151 of file KeypointItem.cpp.

◆ focusOutEvent()

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

Definition at line 157 of file KeypointItem.cpp.

◆ hideDescription()

void rtabmap::KeypointItem::hideDescription ( )
private

Definition at line 119 of file KeypointItem.cpp.

◆ hoverEnterEvent()

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

Definition at line 128 of file KeypointItem.cpp.

◆ hoverLeaveEvent()

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

Definition at line 142 of file KeypointItem.cpp.

◆ keypoint()

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

Definition at line 48 of file KeypointItem.h.

◆ setColor()

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

Definition at line 55 of file KeypointItem.cpp.

◆ showDescription()

void rtabmap::KeypointItem::showDescription ( )
private

Definition at line 61 of file KeypointItem.cpp.

Member Data Documentation

◆ _depth

float rtabmap::KeypointItem::_depth
private

Definition at line 65 of file KeypointItem.h.

◆ _id

int rtabmap::KeypointItem::_id
private

Definition at line 61 of file KeypointItem.h.

◆ _kpt

cv::KeyPoint rtabmap::KeypointItem::_kpt
private

Definition at line 62 of file KeypointItem.h.

◆ _placeHolder

QGraphicsRectItem* rtabmap::KeypointItem::_placeHolder
private

Definition at line 63 of file KeypointItem.h.

◆ _width

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 Jan 23 2023 03:39:00