#include <Anchor.h>
Public Member Functions | |
void | add_anchor (Anchor3d_Node *a) |
Anchor3d_Node (Slam *slam) | |
void | merge (Anchor3d_Node *a, Pose3d old_origin) |
Anchor3d_Node * | parent () |
void | set_prior () |
~Anchor3d_Node () | |
Private Attributes | |
std::vector< Anchor3d_Node * > | _childs |
Anchor3d_Node * | _parent |
Factor * | _prior |
Slam * | _slam |
isam::Anchor3d_Node::Anchor3d_Node | ( | Slam * | slam | ) |
Definition at line 89 of file Anchor.cpp.
Definition at line 93 of file Anchor.cpp.
void isam::Anchor3d_Node::add_anchor | ( | Anchor3d_Node * | a | ) |
Add a new anchor to this frame.
Definition at line 107 of file Anchor.cpp.
void isam::Anchor3d_Node::merge | ( | Anchor3d_Node * | a, |
Pose3d | old_origin | ||
) |
Merges the node with anchor a.
a | the node to merge with. |
old_origin | the pose of this frame in the new frame. |
Usage: b.merge(a);
All anchors in a's frame will be merged with the b's frame.
Definition at line 117 of file Anchor.cpp.
Anchor3d_Node* isam::Anchor3d_Node::parent | ( | ) | [inline] |
void isam::Anchor3d_Node::set_prior | ( | ) |
Add a prior to the anchor. The prior will be removed if this anchor is merged with another anchor's frame.
Definition at line 100 of file Anchor.cpp.
std::vector<Anchor3d_Node*> isam::Anchor3d_Node::_childs [private] |
Anchor3d_Node* isam::Anchor3d_Node::_parent [private] |
Factor* isam::Anchor3d_Node::_prior [private] |
Slam* isam::Anchor3d_Node::_slam [private] |