Public Member Functions | Private Attributes | List of all members
rtabmap::graph::Node Class Reference

Public Member Functions

float costSoFar () const
 
float distFrom (const rtabmap::Transform &pose) const
 
float distToEnd () const
 
int fromId () const
 
int id () const
 
bool isClosed () const
 
bool isOpened () const
 
 Node (int id, int fromId, const rtabmap::Transform &pose)
 
rtabmap::Transform pose () const
 
void setClosed (bool closed)
 
void setCostSoFar (float costSoFar)
 
void setDistToEnd (float distToEnd)
 
void setFromId (int fromId)
 
void setPose (const Transform &pose)
 
float totalCost () const
 

Private Attributes

bool closed_
 
float costSoFar_
 
float distToEnd_
 
int fromId_
 
int id_
 
rtabmap::Transform pose_
 

Detailed Description

Definition at line 1608 of file Graph.cpp.

Constructor & Destructor Documentation

◆ Node()

rtabmap::graph::Node::Node ( int  id,
int  fromId,
const rtabmap::Transform pose 
)
inline

Definition at line 1611 of file Graph.cpp.

Member Function Documentation

◆ costSoFar()

float rtabmap::graph::Node::costSoFar ( ) const
inline

Definition at line 1624 of file Graph.cpp.

◆ distFrom()

float rtabmap::graph::Node::distFrom ( const rtabmap::Transform pose) const
inline

Definition at line 1628 of file Graph.cpp.

◆ distToEnd()

float rtabmap::graph::Node::distToEnd ( ) const
inline

Definition at line 1625 of file Graph.cpp.

◆ fromId()

int rtabmap::graph::Node::fromId ( ) const
inline

Definition at line 1621 of file Graph.cpp.

◆ id()

int rtabmap::graph::Node::id ( ) const
inline

Definition at line 1620 of file Graph.cpp.

◆ isClosed()

bool rtabmap::graph::Node::isClosed ( ) const
inline

Definition at line 1622 of file Graph.cpp.

◆ isOpened()

bool rtabmap::graph::Node::isOpened ( ) const
inline

Definition at line 1623 of file Graph.cpp.

◆ pose()

rtabmap::Transform rtabmap::graph::Node::pose ( ) const
inline

Definition at line 1627 of file Graph.cpp.

◆ setClosed()

void rtabmap::graph::Node::setClosed ( bool  closed)
inline

Definition at line 1633 of file Graph.cpp.

◆ setCostSoFar()

void rtabmap::graph::Node::setCostSoFar ( float  costSoFar)
inline

Definition at line 1635 of file Graph.cpp.

◆ setDistToEnd()

void rtabmap::graph::Node::setDistToEnd ( float  distToEnd)
inline

Definition at line 1636 of file Graph.cpp.

◆ setFromId()

void rtabmap::graph::Node::setFromId ( int  fromId)
inline

Definition at line 1634 of file Graph.cpp.

◆ setPose()

void rtabmap::graph::Node::setPose ( const Transform pose)
inline

Definition at line 1637 of file Graph.cpp.

◆ totalCost()

float rtabmap::graph::Node::totalCost ( ) const
inline

Definition at line 1626 of file Graph.cpp.

Member Data Documentation

◆ closed_

bool rtabmap::graph::Node::closed_
private

Definition at line 1644 of file Graph.cpp.

◆ costSoFar_

float rtabmap::graph::Node::costSoFar_
private

Definition at line 1641 of file Graph.cpp.

◆ distToEnd_

float rtabmap::graph::Node::distToEnd_
private

Definition at line 1642 of file Graph.cpp.

◆ fromId_

int rtabmap::graph::Node::fromId_
private

Definition at line 1643 of file Graph.cpp.

◆ id_

int rtabmap::graph::Node::id_
private

Definition at line 1640 of file Graph.cpp.

◆ pose_

rtabmap::Transform rtabmap::graph::Node::pose_
private

Definition at line 1645 of file Graph.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