Monado OpenXR Runtime
hg_interface.h
Go to the documentation of this file.
1// Copyright 2022, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Public interface of Mercury hand tracking.
6 * @author Jakob Bornecrantz <jakob@collabora.com>
7 * @author Moses Turner <moses@collabora.com>
8 * @ingroup aux_tracking
9 */
10#pragma once
11#include "xrt/xrt_defines.h"
12#include "tracking/t_tracking.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19/*!
20 * Create a Mercury hand tracking pipeline.
21 *
22 * @ingroup aux_tracking
23 */
26 struct t_hand_tracking_create_info create_info,
27 const char *models_folder);
28
29#ifdef __cplusplus
30} // extern "C"
31#endif
struct t_hand_tracking_sync * t_hand_tracking_sync_mercury_create(struct t_stereo_camera_calibration *calib, struct t_hand_tracking_create_info create_info, const char *models_folder)
Create a Mercury hand tracking pipeline.
Definition: hg_sync.cpp:1092
Creation info for the creation of a hand tracker.
Definition: t_hand_tracking.h:111
Synchronously processes frames and returns two hands.
Definition: t_hand_tracking.h:120
Stereo camera calibration data to be given to trackers.
Definition: t_tracking.h:248
Hand tracking interfaces.
Tracking API interface.
Common defines and enums for XRT.