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 67 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 71 of file GraphViewer.cpp.

◆ ~NodeItem()

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

Definition at line 90 of file GraphViewer.cpp.

Member Function Documentation

◆ hoverEnterEvent()

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

Reimplemented in rtabmap::NodeGPSItem.

Definition at line 135 of file GraphViewer.cpp.

◆ hoverLeaveEvent()

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

Definition at line 149 of file GraphViewer.cpp.

◆ id()

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

Definition at line 115 of file GraphViewer.cpp.

◆ mapId()

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

Definition at line 116 of file GraphViewer.cpp.

◆ pose()

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

Definition at line 117 of file GraphViewer.cpp.

◆ setColor()

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

Definition at line 92 of file GraphViewer.cpp.

◆ setPose()

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

Definition at line 118 of file GraphViewer.cpp.

◆ setRadius()

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

Definition at line 106 of file GraphViewer.cpp.

Member Data Documentation

◆ _id

int rtabmap::NodeItem::_id
private

Definition at line 156 of file GraphViewer.cpp.

◆ _line

QGraphicsLineItem* rtabmap::NodeItem::_line
private

Definition at line 160 of file GraphViewer.cpp.

◆ _mapId

int rtabmap::NodeItem::_mapId
private

Definition at line 157 of file GraphViewer.cpp.

◆ _pose

Transform rtabmap::NodeItem::_pose
private

Definition at line 159 of file GraphViewer.cpp.

◆ _weight

int rtabmap::NodeItem::_weight
private

Definition at line 158 of file GraphViewer.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00