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

Class slamcore::LandmarkInterface

class LandmarkInterface : public ObjectInterface

Representing a single landmark.

Public Types

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

Public Functions

inline virtual ObjectType type() const

Type of the object.

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

Landmark unique ID.

virtual const VectorInterface &getPosition() const = 0

3-element position vector of the Landmark.

inline virtual bool isGlobal() const

If the landmark is local or global.