Struct ILLIXR::data_format::pose::hand_joint_poses_pair
ClassList > ILLIXR > data_format > pose > hand_joint_poses_pair
Joint poses for both hands, suitable for publication on the switchboard. More...
#include <hand_pose.hpp>
Inherits the following classes: switchboard::event
Public Attributes
| Type | Name |
|---|---|
| std::map< side, hand_joint_poses > | hands Per-hand joint poses keyed by hand . |
| time_point | sensor_time Timestamp at which the data was captured. |
Public Functions
| Type | Name |
|---|---|
| hand_joint_poses_pair () Default constructor. Map is empty; timestamp is default-constructed. |
|
| hand_joint_poses_pair (std::map< side, hand_joint_poses > hands_, time_point sensor_time_) Construct from explicit components. |
|
| bool | has_hands () const |
| hand_joint_poses & | operator[] (side h) |
Detailed Description
Acts as the primary switchboard topic for hand-tracking pose data. Each eye of the map holds a hand_joint_poses for the corresponding hand.
Public Attributes Documentation
variable hands
Per-hand joint poses keyed by hand .
std::map<side, hand_joint_poses> ILLIXR::data_format::pose::hand_joint_poses_pair::hands;
variable sensor_time
Timestamp at which the data was captured.
time_point ILLIXR::data_format::pose::hand_joint_poses_pair::sensor_time;
Public Functions Documentation
function hand_joint_poses_pair [1/2]
Default constructor. Map is empty; timestamp is default-constructed.
inline ILLIXR::data_format::pose::hand_joint_poses_pair::hand_joint_poses_pair ()
function hand_joint_poses_pair [2/2]
Construct from explicit components.
inline ILLIXR::data_format::pose::hand_joint_poses_pair::hand_joint_poses_pair (
std::map< side , hand_joint_poses > hands_,
time_point sensor_time_
)
Parameters:
hands_Per-hand joint posessensor_time_Timestamp at which the data was captured
function has_hands
inline bool ILLIXR::data_format::pose::hand_joint_poses_pair::has_hands () const
Returns whether there is any data for either hand
Returns:
True if there is any data for either hand, False otherwise.
function operator[]
inline hand_joint_poses & ILLIXR::data_format::pose::hand_joint_poses_pair::operator[] (
side h
)
Get the hand joint data for the specified hand
Parameters:
hThe hand (LEFT or RIGHT) to obtain the joint data for
Returns:
The requested hand joint data
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/data_format/poses/hand_pose.hpp