Monado OpenXR Runtime
t_hand_tracking_sync Struct Reference

Synchronously processes frames and returns two hands. More...

#include <tracking/t_hand_tracking.h>

Collaboration diagram for t_hand_tracking_sync:

Static Public Member Functions

static void t_ht_sync_process (struct t_hand_tracking_sync *ht_sync, struct xrt_frame *left_frame, struct xrt_frame *right_frame, struct xrt_hand_joint_set *out_left_hand, struct xrt_hand_joint_set *out_right_hand, int64_t *out_timestamp_ns)
 Process left and right view and get back a result synchronously. More...
 
static void t_ht_sync_destroy (struct t_hand_tracking_sync **ht_sync_ptr)
 Destroy this hand tracker sync object. More...
 

Data Fields

void(* process )(struct t_hand_tracking_sync *ht_sync, struct xrt_frame *left_frame, struct xrt_frame *right_frame, struct xrt_hand_joint_set *out_left_hand, struct xrt_hand_joint_set *out_right_hand, int64_t *out_timestamp_ns)
 Process left and right view and get back a result synchronously. More...
 
void(* destroy )(struct t_hand_tracking_sync *ht_sync)
 Destroy this hand tracker sync object. More...
 

Detailed Description

Synchronously processes frames and returns two hands.

Member Function Documentation

◆ t_ht_sync_destroy()

static void t_ht_sync_destroy ( struct t_hand_tracking_sync **  ht_sync_ptr)
inlinestatic

Destroy this hand tracker sync object.

Helper for calling through the function pointer: does a null check and sets ht_sync_ptr to null if freed.

References destroy.

◆ t_ht_sync_process()

static void t_ht_sync_process ( struct t_hand_tracking_sync ht_sync,
struct xrt_frame left_frame,
struct xrt_frame right_frame,
struct xrt_hand_joint_set out_left_hand,
struct xrt_hand_joint_set out_right_hand,
int64_t *  out_timestamp_ns 
)
inlinestatic

Process left and right view and get back a result synchronously.

References process.

Field Documentation

◆ destroy

void(* t_hand_tracking_sync::destroy) (struct t_hand_tracking_sync *ht_sync)

Destroy this hand tracker sync object.

Referenced by t_ht_sync_destroy().

◆ process

void(* t_hand_tracking_sync::process) (struct t_hand_tracking_sync *ht_sync, struct xrt_frame *left_frame, struct xrt_frame *right_frame, struct xrt_hand_joint_set *out_left_hand, struct xrt_hand_joint_set *out_right_hand, int64_t *out_timestamp_ns)

Process left and right view and get back a result synchronously.

Referenced by t_ht_sync_process().


The documentation for this struct was generated from the following file: