You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.
Class slamcore::ReferenceFrame
-
class ReferenceFrame
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 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.
- Parameters
category – The new category
-
inline void set(SensorIndexT index)
Set the reference frame index.
- Parameters
index – The new index
-
inline constexpr ReferenceFrame()