Struct ILLIXR::data_format::pose::hand_joint_pose
ClassList > ILLIXR > data_format > pose > hand_joint_pose
Full 6-DOF pose for a single hand joint. More...
#include <hand_pose.hpp>
Public Attributes
| Type | Name |
|---|---|
| float | radius The radius of the joint. |
| xrt_space_relation | relation The pose, velocity, and flag data for the joint. |
Public Functions
| Type | Name |
|---|---|
| hand_joint_pose () |
|
| hand_joint_pose (xrt_space_relation rel, float r) |
|
| hand_joint_pose (XrHandJointLocationEXT pose, XrHandJointVelocityEXT vel) |
Detailed Description
Extends pose_base with per-joint joint_location_flags, a linear velocity, and a joint-sphere radius.
pose_base::valid is set to true when both ORIENTATION_VALID and POSITION_VALID are set in location_flags, providing a single "is this usable?" check for consumers that do not need the finer-grained distinction. Consumers that do need it (e.g. physics that should only apply velocity when POSITION_TRACKED is set) should read location_flags directly.
Public Attributes Documentation
variable radius
The radius of the joint.
float ILLIXR::data_format::pose::hand_joint_pose::radius;
variable relation
The pose, velocity, and flag data for the joint.
xrt_space_relation ILLIXR::data_format::pose::hand_joint_pose::relation;
Public Functions Documentation
function hand_joint_pose [1/3]
inline ILLIXR::data_format::pose::hand_joint_pose::hand_joint_pose ()
function hand_joint_pose [2/3]
inline ILLIXR::data_format::pose::hand_joint_pose::hand_joint_pose (
xrt_space_relation rel,
float r
)
Constructor using an xrt_space_relation and radius
Parameters:
relr
function hand_joint_pose [3/3]
inline ILLIXR::data_format::pose::hand_joint_pose::hand_joint_pose (
XrHandJointLocationEXT pose,
XrHandJointVelocityEXT vel
)
Constructor using an OpenXR based hand joint and velocity
Parameters:
poseThe pose for the jointvelThe velocity data for the joint
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