Monado OpenXR Runtime
Data Fields | Related Functions
xrt_space_relation Struct Reference

A relation with two spaces, includes velocity and acceleration. More...

#include <xrt/xrt_defines.h>

Collaboration diagram for xrt_space_relation:
Collaboration graph
[legend]

Data Fields

enum xrt_space_relation_flags relation_flags
 
struct xrt_pose pose
 
struct xrt_vec3 linear_velocity
 
struct xrt_vec3 angular_velocity
 
struct xrt_vec3 linear_acceleration
 
struct xrt_vec3 angular_acceleration
 

Related Functions

(Note that these are not member functions.)

void math_relation_reset (struct xrt_space_relation *out)
 Reset a relation to zero velocity, located at origin, and all validity flags. More...
 
void math_relation_apply_offset (const struct xrt_pose *offset, struct xrt_space_relation *in_out_relation)
 Apply a static pose on top of an existing relation. More...
 
void math_relation_accumulate_relation (const struct xrt_space_relation *additional_relation, struct xrt_space_relation *in_out_relation)
 Apply another step of space relation on top of an existing relation. More...
 
void math_relation_openxr_locate (const struct xrt_pose *space_pose, const struct xrt_space_relation *relative_relation, const struct xrt_pose *base_space_pose, struct xrt_space_relation *result)
 Combine the poses of the target and base space with the relative relation of those spaces. More...
 

Detailed Description

A relation with two spaces, includes velocity and acceleration.

See also
xrt_quat
xrt_vec3
xrt_pose
xrt_space_relation_flags

The documentation for this struct was generated from the following files: