Class neighbor_t
Defined in File point3d.hpp
Inheritance Relationships
Base Type
public slam_mer::point3d_t::id_pair(Struct point3d_t::id_pair)
Class Documentation
-
class neighbor_t : public slam_mer::point3d_t::id_pair
Class representing a neighbor of a 3D point.
Public Types
-
using vector = vector_t<neighbor_t>
Public Functions
Constructs a new neighbor link.
- Parameters:
pointId_ – Parameter
pointId_.keyframeId_ – Parameter
keyframeId_.neighbor_ – Parameter
neighbor_.
-
inline point3d_t::shared_ptr get_neighbor() const
Get the neighbor object.
- Returns:
the pointer to the neighbor point
-
inline point_id_t id() const
Get the neighbor id.
- Returns:
Id of the neighbor point
-
inline keyframe_id_t get_keyframe_id() const
Get the keyframe id.
- Returns:
Returned value.
Change the neighbor point.
- Parameters:
neighbor_ – Parameter
neighbor_.
Conversion operators: shared pointer to point3d
- Returns:
Returned value.
-
inline operator point_id_t() const
Conversion operators: point id
- Returns:
Returned value.
-
inline operator keyframe_id_t() const
Conversion operators: keyframe id
- Returns:
Returned value.
-
using vector = vector_t<neighbor_t>