Monado OpenXR Runtime
xrt_pose Struct Reference

A pose composed of a position and orientation. More...

#include <xrt/xrt_defines.h>

Collaboration diagram for xrt_pose:

Data Fields

struct xrt_quat orientation
 
struct xrt_vec3 position
 

Related Functions

(Note that these are not member functions.)

void math_pose_identity (struct xrt_pose *pose)
 Somewhat laboriously make an xrt_pose identity. More...
 
bool math_pose_validate (const struct xrt_pose *pose)
 Check if this pose can be used in transformation operations. More...
 
void math_pose_invert (const struct xrt_pose *pose, struct xrt_pose *outPose)
 Invert pose. More...
 
void math_pose_from_isometry (const struct xrt_matrix_4x4 *transform, struct xrt_pose *result)
 Converts a (col-major) isometry into a pose. More...
 
void math_pose_interpolate (const struct xrt_pose *a, const struct xrt_pose *b, float t, struct xrt_pose *outPose)
 Interpolated pose between poses a and b by lerping position and slerping orientation by t. More...
 
void math_pose_transform (const struct xrt_pose *transform, const struct xrt_pose *pose, struct xrt_pose *outPose)
 Apply a rigid-body transformation to a pose. More...
 
void math_pose_transform_point (const struct xrt_pose *transform, const struct xrt_vec3 *point, struct xrt_vec3 *out_point)
 Apply a rigid-body transformation to a point. More...
 
#define XRT_POSE_IDENTITY
 Identity value for xrt_pose. More...
 

Detailed Description

A pose composed of a position and orientation.

See also
xrt_qaut
xrt_vec3

Friends And Related Function Documentation

◆ XRT_POSE_IDENTITY

#define XRT_POSE_IDENTITY
related

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