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)
 
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
 

Detailed Description

Definition at line 59 of file GraphViewer.cpp.

Constructor & Destructor Documentation

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 ( )
inlinevirtual

Definition at line 78 of file GraphViewer.cpp.

Member Function Documentation

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

Reimplemented in rtabmap::NodeGPSItem.

Definition at line 107 of file GraphViewer.cpp.

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

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.

Member Data Documentation

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.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43