You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::LandmarkInterface

class LandmarkInterface

Representing a single landmark.

Public Types

using Ptr = std::shared_ptr<LandmarkInterface>
using CPtr = std::shared_ptr<const LandmarkInterface>

Public Functions

virtual ~LandmarkInterface() = default
virtual LandmarkId getID() const = 0

Landmark unique ID.

virtual const Vector<double, 3> &getPosition() const = 0

3-element position vector of the Landmark.

inline virtual bool isGlobal() const

If the landmark is local or global.