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

File reference_frame.hpp

Types used across the API - reference frame.


static inline std::ostream &operator<<(std::ostream &os, const ReferenceFrame &obj)
namespace slamcore

Main namespace for the Slamcore public API

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library


static inline std::ostream &operator<<(std::ostream &os, const ReferenceFrame &obj)
class ReferenceFrame
#include <reference_frame.hpp>

Represent a coordinate system frame of reference

Public Functions

inline constexpr ReferenceFrame()
inline constexpr ReferenceFrame(ReferenceFrameCategory cat, SensorIndexT index)
inline bool operator==(const ReferenceFrame &other) const
inline bool operator!=(const ReferenceFrame &other) const
inline bool operator<(const ReferenceFrame &other) const
inline bool isUnknown() const

Check if the reference frame is of an unknown type.

inline std::string name() const

Get a string representation of the reference frame.

inline ReferenceFrameCategory category() const

Get the reference frame category

inline SensorIndexT index() const

Get the reference frame index

inline void set(ReferenceFrameCategory category)

Set the reference frame category.


category – The new category

inline void set(SensorIndexT index)

Set the reference frame index.


index – The new index

Private Members

ReferenceFrameCategory m_category
SensorIndexT m_index
namespace std

Includes items that closely relate to std types