Skip to content

Struct ILLIXR::data_format::pose::head_pose_data

ClassList > ILLIXR > data_format > pose > head_pose_data

  • #include <head_pose.hpp>

Inherits the following classes: ILLIXR::data_format::pose::pose_base

Inherited by the following classes: ILLIXR::data_format::pose::head_pose_type

Public Attributes inherited from ILLIXR::data_format::pose::pose_base

See ILLIXR::data_format::pose::pose_base

Type Name
float confidence
Confidence in the pose estimate in [0, 1], where 1 is highest confidence.
Eigen::Quaternionf orientation
Rotation component of the pose as a unit quaternion.
Eigen::Vector3f position
Translation component of the pose (x, y, z)
bool valid
Whether this pose contains valid, usable data.

Public Functions

Type Name
head_pose_data () = default
Default constructor. Produces an invalid, zero-translation, identity-rotation pose.
head_pose_data (Eigen::Vector3f position_, Eigen::Quaternionf orientation_, bool valid_=true, const float confidence_=0.)

Public Functions inherited from ILLIXR::data_format::pose::pose_base

See ILLIXR::data_format::pose::pose_base

Type Name
pose_base ()
Default constructor. Produces an invalid, zero-translation, identity-rotation pose.
pose_base (Eigen::Vector3f position_, Eigen::Quaternionf orientation_, float confidence_=0.f, bool valid_=true)
Construct a pose from explicit components.
void update (Eigen::Vector3f position_, Eigen::Quaternionf orientation_)

Public Functions Documentation

function head_pose_data [1/2]

Default constructor. Produces an invalid, zero-translation, identity-rotation pose.

ILLIXR::data_format::pose::head_pose_data::head_pose_data () = default


function head_pose_data [2/2]

inline ILLIXR::data_format::pose::head_pose_data::head_pose_data (
    Eigen::Vector3f position_,
    Eigen::Quaternionf orientation_,
    bool valid_=true,
    const  float confidence_=0.
) 

Create an instance based on the given data

Parameters:

  • position_ The positional part of the pose
  • orientation_ RThe rotational part of the pose
  • valid_ The validity of the pose, default is true
  • frm The reference frame, default is RIGHT_HANDED_Y_UP
  • ref The reference space, default is VIEWER
  • confidence_ The confidence of the pose (0..1, where 0 means no confidence)


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