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

File pose_list.hpp

Core API objects - pose list.

namespace slamcore

Main namespace for the Slamcore public API

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

template<typename ClockT>
class PoseListInterface
#include <pose_list.hpp>

Representing the trajectory (list of poses).

Unnamed Group

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

Convenient access to pose i.

inline const value_type &operator()(const std::size_t i) const
inline const value_type &get(const std::size_t i) const

Unnamed Group

inline iterator begin() const

For range for loops.

inline iterator end() const

Public Types

using Ptr = std::shared_ptr<PoseListInterface>
using CPtr = std::shared_ptr<const PoseListInterface>
using value_type = PoseInterface<ClockT>
using iterator = RangeIterator<PoseListInterface>

Public Functions

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

Number of poses in the poselist.

Public Static Attributes

static constexpr ObjectType EnumType = internal::ClockToEnum<ClockT>::EnumPoseList

Protected Functions

virtual const value_type &getPoseImpl(const std::size_t idx) const = 0

Actual implementation to get pose idx.