Monado OpenXR Runtime
Loading...
Searching...
No Matches
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 Symbols

(Note that these are not member symbols.)

void math_pose_identity (struct xrt_pose *pose)
 Somewhat laboriously make an xrt_pose identity.
 
bool math_pose_validate (const struct xrt_pose *pose)
 Check if this pose can be used in transformation operations.
 
void math_pose_invert (const struct xrt_pose *pose, struct xrt_pose *outPose)
 Invert pose.
 
void math_pose_from_isometry (const struct xrt_matrix_4x4 *transform, struct xrt_pose *result)
 Converts a (col-major) isometry into a pose.
 
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.
 
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.
 
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.
 
#define XRT_POSE_IDENTITY   {XRT_QUAT_IDENTITY, XRT_VEC3_ZERO}
 Identity value for xrt_pose.
 

Detailed Description

A pose composed of a position and orientation.

See also
xrt_qaut
xrt_vec3

Friends And Related Symbol Documentation

◆ XRT_POSE_IDENTITY


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