Monado OpenXR Runtime
Loading...
Searching...
No Matches
b_body_tracker.hpp
Go to the documentation of this file.
1// Copyright 2026, NVIDIA CORPORATION.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief C++ base implementation of @ref xrt_body_tracker.
6 * @ingroup base
7 */
8
9#pragma once
10
12
13#include "b_body_tracker.h"
14
15
16class BodyTracker : public xrt::util::BodyTrackerBase<BodyTracker>
17{
18public: // Methods
20
22 locate(xrt_space_overseer *xso,
23 xrt_space *base_space,
24 const xrt_pose *base_offset,
25 int64_t at_timestamp_ns,
26 xrt_body_tracker_location *out_location);
27
29 getSkeleton(xrt_body_skeleton *out_skeleton);
30
32 resetCalibrationMeta();
33
35 setCalibrationOverrideMeta(float body_height);
36
38 setFidelityMeta(enum xrt_body_tracking_fidelity_meta fidelity);
39
40 static void
41 destroyBodyTracker(struct xrt_body_tracker *xbt);
42
43
44private: // Members
46 xrt_device *mXdev{nullptr};
47};
Base implementation factory for xrt_body_tracker.
Definition b_body_tracker.hpp:17
CRTP glue wrapper for xrt_body_tracker.
Definition g_body_tracker.hpp:28
Header for glue classes to wrap xrt body tracker interfaces.
enum xrt_result xrt_result_t
Result type used across Monado.
Definition xrt_defines.h:2198
Creation parameters for xrt_body_tracker.
Definition xrt_body_tracker.h:30
Result of a locate call.
Definition xrt_body_tracker.h:75
A body tracker, owns the policy for selecting which device and body-tracking source back a single Ope...
Definition xrt_body_tracker.h:102
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 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