25 auto &xht = *getXHT();
27 xht.locate = locateWrap;
28 xht.set_output = setOutputWrap;
29 xht.destroy = destroyHandTrackerWrap;
35 derived()
const noexcept
37 return static_cast<const T &
>(*this);
43 return static_cast<T &
>(*this);
59 getXHT()
const noexcept
76#define GET(xht) (fromXHT(xht)->derived())
83 int64_t at_timestamp_ns,
86 return GET(xht).locate(xso, base_space, base_offset, at_timestamp_ns, out_location);
95 return GET(xht).setOutput(name, value);
102 GET(xht).destroyHandTracker();
Helper wrapper for xrt_hand_tracker.
Definition g_hand_tracker.hpp:21
Catch guards for glue classes.
enum xrt_result xrt_result_t
Result type used across Monado.
xrt_output_name
Name of a output with a baked in type.
Definition xrt_defines.h:1612
Result of locating a hand tracker.
Definition xrt_hand_tracker.h:59
A hand tracker that owns device/source selection policy.
Definition xrt_hand_tracker.h:76
A union of all output types.
Definition xrt_defines.h:2386
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 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
Header defining xrt hand tracker.