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 1706 of file Graph.cpp.

Constructor & Destructor Documentation

◆ Node()

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

Definition at line 1709 of file Graph.cpp.

Member Function Documentation

◆ costSoFar()

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

Definition at line 1722 of file Graph.cpp.

◆ distFrom()

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

Definition at line 1726 of file Graph.cpp.

◆ distToEnd()

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

Definition at line 1723 of file Graph.cpp.

◆ fromId()

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

Definition at line 1719 of file Graph.cpp.

◆ id()

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

Definition at line 1718 of file Graph.cpp.

◆ isClosed()

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

Definition at line 1720 of file Graph.cpp.

◆ isOpened()

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

Definition at line 1721 of file Graph.cpp.

◆ pose()

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

Definition at line 1725 of file Graph.cpp.

◆ setClosed()

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

Definition at line 1731 of file Graph.cpp.

◆ setCostSoFar()

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

Definition at line 1733 of file Graph.cpp.

◆ setDistToEnd()

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

Definition at line 1734 of file Graph.cpp.

◆ setFromId()

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

Definition at line 1732 of file Graph.cpp.

◆ setPose()

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

Definition at line 1735 of file Graph.cpp.

◆ totalCost()

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

Definition at line 1724 of file Graph.cpp.

Member Data Documentation

◆ closed_

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

Definition at line 1742 of file Graph.cpp.

◆ costSoFar_

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

Definition at line 1739 of file Graph.cpp.

◆ distToEnd_

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

Definition at line 1740 of file Graph.cpp.

◆ fromId_

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

Definition at line 1741 of file Graph.cpp.

◆ id_

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

Definition at line 1738 of file Graph.cpp.

◆ pose_

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

Definition at line 1743 of file Graph.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:28