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

Class slamcore::MultiFrameInterface

class MultiFrameInterface : public ObjectInterface

Representing a set of video frames.

Convenient access to frame @a i.

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

range-for loops helpers.

inline iterator begin() const
inline iterator end() const

Public Types

using Ptr = std::shared_ptr<MultiFrameInterface>
using CPtr = std::shared_ptr<const MultiFrameInterface>
using value_type = ImageInterface
using iterator = RangeIterator<MultiFrameInterface>

Public Functions

inline virtual ObjectType type() const

Type of the object.

virtual ~MultiFrameInterface() = default
inline virtual bool isKeyFrame() const

Indicates if this MultiFrame is a key frame in our map.

virtual std::size_t size() const = 0

Number of frames in the MultiFrame.