You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.
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
-
static constexpr ObjectType EnumType = ObjectType::Landmark
-
namespace slamcore
Main namespace for the Slamcore public API
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.
-
using Ptr = std::shared_ptr<LandmarkInterface>
- template<typename T> type >
- #include <landmark.hpp>
Public Static Attributes
-
static constexpr ObjectType EnumType = ObjectType::Landmark
-
static constexpr ObjectType EnumType = ObjectType::Landmark
-
class LandmarkInterface