Skip to content

Struct ILLIXR::data_format::pose::palm_poses_pair

ClassList > ILLIXR > data_format > pose > palm_poses_pair

Palm poses for both hands, suitable for publication on the switchboard. More...

  • #include <palm_pose.hpp>

Inherits the following classes: switchboard::event

Public Attributes

Type Name
std::map< side, palm_pose > hands
Per-hand palm pose keyed by hand .
time_point sensor_time
Timestamp at which the data was captured.

Public Functions

Type Name
bool is_valid () const
palm_pose & operator[] (side h)
palm_poses_pair ()
Default constructor. Both hands default-constructed; timestamp is default-constructed.
palm_poses_pair (std::map< side, palm_pose > hands_, time_point sensor_time_)
Construct from explicit components.

Detailed Description

Acts as the primary switchboard topic for palm pose data derived from XR_EXT_palm_pose or the PALM joint of XR_EXT_hand_tracking.

Public Attributes Documentation

variable hands

Per-hand palm pose keyed by hand .

std::map<side, palm_pose> ILLIXR::data_format::pose::palm_poses_pair::hands;


variable sensor_time

Timestamp at which the data was captured.

time_point ILLIXR::data_format::pose::palm_poses_pair::sensor_time;


Public Functions Documentation

function is_valid

inline bool ILLIXR::data_format::pose::palm_poses_pair::is_valid () const

function operator[]

inline palm_pose & ILLIXR::data_format::pose::palm_poses_pair::operator[] (
    side h
) 

function palm_poses_pair [1/2]

Default constructor. Both hands default-constructed; timestamp is default-constructed.

inline ILLIXR::data_format::pose::palm_poses_pair::palm_poses_pair () 


function palm_poses_pair [2/2]

Construct from explicit components.

inline ILLIXR::data_format::pose::palm_poses_pair::palm_poses_pair (
    std::map< side , palm_pose > hands_,
    time_point sensor_time_
) 

Parameters:

  • hands_ Per-hand palm poses
  • sensor_time_ Timestamp at which the data was captured


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/data_format/poses/palm_pose.hpp