Public Member Functions | Protected Member Functions | Private Attributes | List of all members
rtabmap::NodeItem Class Reference
Inheritance diagram for rtabmap::NodeItem:
Inheritance graph
[legend]

Public Member Functions

int id () const
 
int mapId () const
 
 NodeItem (int id, int mapId, const Transform &pose, float radius, int weight=-1)
 
const Transformpose () 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
 
int _weight
 

Detailed Description

Definition at line 66 of file GraphViewer.cpp.

Constructor & Destructor Documentation

rtabmap::NodeItem::NodeItem ( int  id,
int  mapId,
const Transform pose,
float  radius,
int  weight = -1 
)
inline

Definition at line 70 of file GraphViewer.cpp.

virtual rtabmap::NodeItem::~NodeItem ( )
inlinevirtual

Definition at line 86 of file GraphViewer.cpp.

Member Function Documentation

virtual void rtabmap::NodeItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event)
inlineprotectedvirtual

Reimplemented in rtabmap::NodeGPSItem.

Definition at line 115 of file GraphViewer.cpp.

virtual void rtabmap::NodeItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event)
inlineprotectedvirtual

Definition at line 129 of file GraphViewer.cpp.

int rtabmap::NodeItem::id ( ) const
inline

Definition at line 109 of file GraphViewer.cpp.

int rtabmap::NodeItem::mapId ( ) const
inline

Definition at line 110 of file GraphViewer.cpp.

const Transform& rtabmap::NodeItem::pose ( ) const
inline

Definition at line 111 of file GraphViewer.cpp.

void rtabmap::NodeItem::setColor ( const QColor &  color)
inline

Definition at line 88 of file GraphViewer.cpp.

void rtabmap::NodeItem::setPose ( const Transform pose)
inline

Definition at line 112 of file GraphViewer.cpp.

void rtabmap::NodeItem::setRadius ( float  radius)
inline

Definition at line 100 of file GraphViewer.cpp.

Member Data Documentation

int rtabmap::NodeItem::_id
private

Definition at line 136 of file GraphViewer.cpp.

QGraphicsLineItem* rtabmap::NodeItem::_line
private

Definition at line 140 of file GraphViewer.cpp.

int rtabmap::NodeItem::_mapId
private

Definition at line 137 of file GraphViewer.cpp.

Transform rtabmap::NodeItem::_pose
private

Definition at line 139 of file GraphViewer.cpp.

int rtabmap::NodeItem::_weight
private

Definition at line 138 of file GraphViewer.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08