File landmark.hpp

Core API objects - landmark.

template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<LandmarkInterface, T>::type>
#include <landmark.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::Landmark
namespace slamcore

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class LandmarkInterface
#include <landmark.hpp>

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.

template<typename T> type >
#include <landmark.hpp>

Public Static Attributes

static constexpr ObjectType EnumType = ObjectType::Landmark