Monado OpenXR Runtime
|
A chain of space relations and their associated validity flags. More...
#include <xrt/xrt_defines.h>
Public Member Functions | |
void | m_relation_chain_resolve (const struct xrt_relation_chain *xrc, struct xrt_space_relation *out_relation) |
Compute the equivalent single relation from flattening a relation chain. More... | |
Static Public Member Functions | |
static struct xrt_space_relation * | m_relation_chain_reserve (struct xrt_relation_chain *xrc) |
Reserve a step in the chain and return a pointer to the relation. More... | |
static void | m_relation_chain_push_relation (struct xrt_relation_chain *xrc, const struct xrt_space_relation *relation) |
Append a new relation. More... | |
static void | m_relation_chain_push_inverted_relation (struct xrt_relation_chain *xrc, const struct xrt_space_relation *relation) |
Append the inverse of the provided relation. More... | |
static void | m_relation_chain_push_pose (struct xrt_relation_chain *xrc, const struct xrt_pose *pose) |
Append a new pose as a fully tracked relation. More... | |
static void | m_relation_chain_push_pose_if_not_identity (struct xrt_relation_chain *xrc, const struct xrt_pose *pose) |
Append a new pose as a relation without velocity, if it is not the identity pose. More... | |
static void | m_relation_chain_push_inverted_pose_if_not_identity (struct xrt_relation_chain *xrc, const struct xrt_pose *pose) |
Append the inverse of a pose as a relation without velocity, if it is not the identity pose. More... | |
Data Fields | |
struct xrt_space_relation | steps [8] |
uint32_t | step_count |
Related Functions | |
(Note that these are not member functions.) | |
#define | XRT_RELATION_CHAIN_CAPACITY 8 |
The maximum number of steps that can be in a relation chain. More... | |
A chain of space relations and their associated validity flags.
Functions for manipulating this are available in math/m_space.h
.
|
related |
The maximum number of steps that can be in a relation chain.
Referenced by m_relation_chain_push_relation(), and m_relation_chain_reserve().