62 bool body_tracking_calibration;
63 bool body_tracking_fidelity;
122 int64_t at_timestamp_ns,
180 int64_t at_timestamp_ns,
183 return xbt->
locate(xbt, xso, base_space, base_offset, at_timestamp_ns, out_location);
240XRT_NONNULL_ALL
static inline void
xrt_input_name
Every internal input source known to monado with a baked in type.
Definition xrt_defines.h:930
enum xrt_result xrt_result_t
Result type used across Monado.
Definition xrt_defines.h:2301
Definition xrt_defines.h:2198
Creation parameters for xrt_body_tracker.
Definition xrt_body_tracker.h:30
struct xrt_device * locked_xdev
Device to pull body-tracking data from, or NULL to let the system choose the backing device (typicall...
Definition xrt_body_tracker.h:43
enum xrt_input_name body_tracking_type
Which body-tracking data to produce.
Definition xrt_body_tracker.h:37
Result of a locate call.
Definition xrt_body_tracker.h:75
Capability flags for a body tracker, fixed when it is created.
Definition xrt_body_tracker.h:60
A body tracker, owns the policy for selecting which device and body-tracking source back a single Ope...
Definition xrt_body_tracker.h:102
static xrt_result_t xrt_body_tracker_locate(struct xrt_body_tracker *xbt, struct xrt_space_overseer *xso, struct xrt_space *base_space, const struct xrt_pose *base_offset, int64_t at_timestamp_ns, struct xrt_body_tracker_location *out_location)
Locate the tracked body joints.
Definition xrt_body_tracker.h:176
static XRT_NONNULL_ALL void xrt_body_tracker_destroy(struct xrt_body_tracker **xbt_ptr)
Destroy an xrt_body_tracker - helper function.
Definition xrt_body_tracker.h:241
static XRT_NONNULL_ALL xrt_result_t xrt_body_tracker_set_calibration_override_meta(struct xrt_body_tracker *xbt, float body_height)
Suggest a body-tracking calibration override, for XR_META_body_tracking_calibration.
Definition xrt_body_tracker.h:214
void(* destroy)(struct xrt_body_tracker *xbt)
Destroy this body tracker.
Definition xrt_body_tracker.h:167
static XRT_NONNULL_ALL xrt_result_t xrt_body_tracker_reset_calibration_meta(struct xrt_body_tracker *xbt)
Reset the body-tracking calibration, for XR_META_body_tracking_calibration.
Definition xrt_body_tracker.h:203
xrt_result_t(* reset_calibration_meta)(struct xrt_body_tracker *xbt)
Reset the body-tracking calibration, for XR_META_body_tracking_calibration.
Definition xrt_body_tracker.h:140
xrt_result_t(* set_fidelity_meta)(struct xrt_body_tracker *xbt, enum xrt_body_tracking_fidelity_meta fidelity)
Request a body-tracking fidelity level, for XR_META_body_tracking_fidelity.
Definition xrt_body_tracker.h:158
struct xrt_body_tracker_supported supported
Capability flags for this tracker; see xrt_body_tracker_supported.
Definition xrt_body_tracker.h:104
xrt_result_t(* get_skeleton)(struct xrt_body_tracker *xbt, struct xrt_body_skeleton *out_skeleton)
Get the body skeleton (the joint hierarchy and rest pose) for this tracker's body-tracking source.
Definition xrt_body_tracker.h:132
xrt_result_t(* locate)(struct xrt_body_tracker *xbt, struct xrt_space_overseer *xso, struct xrt_space *base_space, const struct xrt_pose *base_offset, int64_t at_timestamp_ns, struct xrt_body_tracker_location *out_location)
Locate the tracked body joints.
Definition xrt_body_tracker.h:118
xrt_result_t(* set_calibration_override_meta)(struct xrt_body_tracker *xbt, float body_height)
Suggest a body-tracking calibration override, for XR_META_body_tracking_calibration.
Definition xrt_body_tracker.h:149
static XRT_NONNULL_ALL xrt_result_t xrt_body_tracker_set_fidelity_meta(struct xrt_body_tracker *xbt, enum xrt_body_tracking_fidelity_meta fidelity)
Request a body-tracking fidelity level, for XR_META_body_tracking_fidelity.
Definition xrt_body_tracker.h:225
static XRT_NONNULL_ALL xrt_result_t xrt_body_tracker_get_skeleton(struct xrt_body_tracker *xbt, struct xrt_body_skeleton *out_skeleton)
Get the body skeleton (the joint hierarchy and rest pose) for this tracker's body-tracking source.
Definition xrt_body_tracker.h:192
A single HMD or input device.
Definition xrt_device.h:340
A pose composed of a position and orientation.
Definition xrt_defines.h:492
Object that oversees and manages spaces, one created for each XR system.
Definition xrt_space.h:97
A relation with two spaces, includes velocity and acceleration.
Definition xrt_defines.h:683
A space very similar to a OpenXR XrSpace but not a full one-to-one mapping, but used to power XrSpace...
Definition xrt_space.h:32
Common defines and enums for XRT.
Internal result type for XRT.