Monado OpenXR Runtime
|
A pose composed of a position and orientation. More...
#include <xrt/xrt_defines.h>
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... | |
A pose composed of a position and orientation.
|
related |
Identity value for xrt_pose.
Referenced by xrt::auxiliary::tracking::slam::get_gt_pose_at(), sdl_program_plus_create(), u_builder_create_space_overseer_legacy(), and u_device_get_view_pose().