Struct ILLIXR::data_format::pose::hand_interaction_poses
ClassList > ILLIXR > data_format > pose > hand_interaction_poses
All interaction poses for one hand. More...
#include <hand_interaction_pose.hpp>
Public Attributes
| Type | Name |
|---|---|
| std::map< interaction_pose_type, hand_interaction_pose > | poses Interaction poses keyed by type. |
Public Functions
| Type | Name |
|---|---|
| const hand_interaction_pose & | at (interaction_pose_type type) const Access an interaction pose by type (const overload). |
| hand_interaction_poses () Default constructor. All poses default-constructed; hand is not tracked. |
|
| hand_interaction_poses (std::map< interaction_pose_type, hand_interaction_pose > poses_) Construct from explicit components. |
|
| bool | is_valid () const |
| hand_interaction_pose & | operator[] (interaction_pose_type type) Access an interaction pose by type. |
Detailed Description
Stores one hand_interaction_pose_data for each interaction_pose_type. The gesture-strength value and readiness flag for each pose are carried on the hand_interaction_pose_data itself rather than at this level, since they are semantically bound to their corresponding pose type.
Public Attributes Documentation
variable poses
Interaction poses keyed by type.
std::map<interaction_pose_type, hand_interaction_pose> ILLIXR::data_format::pose::hand_interaction_poses::poses;
Public Functions Documentation
function at
Access an interaction pose by type (const overload).
inline const hand_interaction_pose & ILLIXR::data_format::pose::hand_interaction_poses::at (
interaction_pose_type type
) const
Parameters:
typeThe interaction pose type to access
Returns:
Const reference to the corresponding hand_interaction_pose_data
function hand_interaction_poses [1/2]
Default constructor. All poses default-constructed; hand is not tracked.
inline ILLIXR::data_format::pose::hand_interaction_poses::hand_interaction_poses ()
function hand_interaction_poses [2/2]
Construct from explicit components.
inline explicit ILLIXR::data_format::pose::hand_interaction_poses::hand_interaction_poses (
std::map< interaction_pose_type , hand_interaction_pose > poses_
)
Parameters:
poses_Map from interaction type to pose data
function is_valid
inline bool ILLIXR::data_format::pose::hand_interaction_poses::is_valid () const
function operator[]
Access an interaction pose by type.
inline hand_interaction_pose & ILLIXR::data_format::pose::hand_interaction_poses::operator[] (
interaction_pose_type type
)
Parameters:
typeThe interaction pose type to access
Returns:
Reference to the corresponding hand_interaction_pose_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_interaction_pose.hpp