Class slamcore::SparseMapInterface

class slamcore::SparseMapInterface : public ObjectInterface, public virtual MeasurementPointInterface<camera_clock>

Representing the whole sparse map.

Convenient access to landmark @a i.

inline const LandmarkInterface &operator[](const std::size_t i) const
inline const LandmarkInterface &operator()(const std::size_t i) const
inline const LandmarkInterface &get(const std::size_t i) const

range-for loops helpers.

inline iterator begin() const
inline iterator end() const

Public Types

enum MapType

Values:

enumerator Active
enumerator Global
enumerator Count
using Ptr = std::shared_ptr<SparseMapInterface>
using CPtr = std::shared_ptr<const SparseMapInterface>
using value_type = LandmarkInterface
using iterator = RangeIterator<SparseMapInterface>

Public Functions

inline virtual ObjectType type() const

Type of the object.

virtual ~SparseMapInterface() = default
virtual std::size_t size() const = 0

Number of landmarks in the map.

inline virtual MapType getMapType() const

Map type.