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

Constructor & Destructor Documentation

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

Definition at line 1587 of file Graph.cpp.

Member Function Documentation

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

Definition at line 1600 of file Graph.cpp.

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

Definition at line 1604 of file Graph.cpp.

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

Definition at line 1601 of file Graph.cpp.

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

Definition at line 1597 of file Graph.cpp.

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

Definition at line 1596 of file Graph.cpp.

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

Definition at line 1598 of file Graph.cpp.

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

Definition at line 1599 of file Graph.cpp.

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

Definition at line 1603 of file Graph.cpp.

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

Definition at line 1609 of file Graph.cpp.

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

Definition at line 1611 of file Graph.cpp.

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

Definition at line 1612 of file Graph.cpp.

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

Definition at line 1610 of file Graph.cpp.

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

Definition at line 1613 of file Graph.cpp.

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

Definition at line 1602 of file Graph.cpp.

Member Data Documentation

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

Definition at line 1620 of file Graph.cpp.

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

Definition at line 1617 of file Graph.cpp.

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

Definition at line 1618 of file Graph.cpp.

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

Definition at line 1619 of file Graph.cpp.

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

Definition at line 1616 of file Graph.cpp.

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

Definition at line 1621 of file Graph.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09