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, GraphViewer::ViewPlane plane, float linkWidth)
 
const Transformpose () const
 
void setColor (const QColor &color)
 
void setPose (const Transform &pose, GraphViewer::ViewPlane plane)
 
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 70 of file GraphViewer.cpp.

Constructor & Destructor Documentation

◆ NodeItem()

rtabmap::NodeItem::NodeItem ( int  id,
int  mapId,
const Transform pose,
float  radius,
int  weight,
GraphViewer::ViewPlane  plane,
float  linkWidth 
)
inline

Definition at line 74 of file GraphViewer.cpp.

◆ ~NodeItem()

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

Definition at line 93 of file GraphViewer.cpp.

Member Function Documentation

◆ hoverEnterEvent()

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

Reimplemented in rtabmap::NodeGPSItem.

Definition at line 145 of file GraphViewer.cpp.

◆ hoverLeaveEvent()

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

Definition at line 159 of file GraphViewer.cpp.

◆ id()

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

Definition at line 118 of file GraphViewer.cpp.

◆ mapId()

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

Definition at line 119 of file GraphViewer.cpp.

◆ pose()

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

Definition at line 120 of file GraphViewer.cpp.

◆ setColor()

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

Definition at line 95 of file GraphViewer.cpp.

◆ setPose()

void rtabmap::NodeItem::setPose ( const Transform pose,
GraphViewer::ViewPlane  plane 
)
inline

Definition at line 121 of file GraphViewer.cpp.

◆ setRadius()

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

Definition at line 109 of file GraphViewer.cpp.

Member Data Documentation

◆ _id

int rtabmap::NodeItem::_id
private

Definition at line 166 of file GraphViewer.cpp.

◆ _line

QGraphicsLineItem* rtabmap::NodeItem::_line
private

Definition at line 170 of file GraphViewer.cpp.

◆ _mapId

int rtabmap::NodeItem::_mapId
private

Definition at line 167 of file GraphViewer.cpp.

◆ _pose

Transform rtabmap::NodeItem::_pose
private

Definition at line 169 of file GraphViewer.cpp.

◆ _weight

int rtabmap::NodeItem::_weight
private

Definition at line 168 of file GraphViewer.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:27