Skip to content

Struct ILLIXR::data_format::pose_type

ClassList > ILLIXR > data_format > pose_type

More...

  • #include <pose.hpp>

Inherits the following classes: ILLIXR::switchboard::event, ILLIXR::data_format::pose_data

Public Attributes

Type Name
time_point sensor_time
Recorded time of sensor data ingestion.

Public Attributes inherited from ILLIXR::data_format::pose_data

See ILLIXR::data_format::pose_data

Type Name
coordinates::frame co_frame
the coordinate reference frame (e.g. left handed y up)
float confidence
confidence rating of the pose data 0. - 1. with 1. being 100%
Eigen::Quaternionf orientation
quaternion representing the rotation of the pose from the reference frame origin
Eigen::Vector3f position
x, y, and z of the translation
coordinates::reference_space ref_space
the reference space (VIEWER = origin is camera, WORLD = origin is specified at startup of system
units::measurement_unit unit
units for the translation portion of the pose
bool valid
whether the pose contains valid data

Public Functions

Type Name
pose_type ()
pose_type (time_point sensor_time_, Eigen::Vector3f & position_, Eigen::Quaternionf & orientation_, units::measurement_unit unit_=units::UNSET, coordinates::frame frm=coordinates::RIGHT_HANDED_Y_UP, coordinates::reference_space ref=coordinates::VIEWER, const float confidence_=0.)
pose_type (time_point sensor_time_, const Eigen::Vector3f & position_, const Eigen::Quaternionf & orientation_, units::measurement_unit unit_=units::UNSET, coordinates::frame frm=coordinates::RIGHT_HANDED_Y_UP, coordinates::reference_space ref=coordinates::VIEWER, const float confidence_=0.)
pose_type (time_point sensor_time_, pose_data & other)

Public Functions inherited from ILLIXR::switchboard::event

See ILLIXR::switchboard::event

Type Name
void serialize (Archive & ar, const unsigned int version)
virtual ~event () = default

Public Functions inherited from ILLIXR::data_format::pose_data

See ILLIXR::data_format::pose_data

Type Name
pose_data ()
pose_data (Eigen::Vector3f position_, Eigen::Quaternionf orientation_, units::measurement_unit unit_=units::UNSET, coordinates::frame frm=coordinates::RIGHT_HANDED_Y_UP, coordinates::reference_space ref=coordinates::VIEWER, const float confidence_=0., bool valid_=true)

Detailed Description

struct of a pose_data along with a timestamp

Public Attributes Documentation

variable sensor_time

Recorded time of sensor data ingestion.

time_point ILLIXR::data_format::pose_type::sensor_time;


Public Functions Documentation

function pose_type [1/4]

inline ILLIXR::data_format::pose_type::pose_type () 

Basic constructor


function pose_type [2/4]

inline ILLIXR::data_format::pose_type::pose_type (
    time_point sensor_time_,
    Eigen::Vector3f & position_,
    Eigen::Quaternionf & orientation_,
    units::measurement_unit unit_=units::UNSET,
    coordinates::frame frm=coordinates::RIGHT_HANDED_Y_UP,
    coordinates::reference_space ref=coordinates::VIEWER,
    const float confidence_=0.
) 

Construct an instance based on the given data

Parameters:

  • sensor_time_ Time associated with htese data
  • position_ The positional part of the pose
  • orientation_ RThe rotational part of the pose
  • unit_ The units for the pose, default is UNSET
  • 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)

function pose_type [3/4]

inline ILLIXR::data_format::pose_type::pose_type (
    time_point sensor_time_,
    const Eigen::Vector3f & position_,
    const Eigen::Quaternionf & orientation_,
    units::measurement_unit unit_=units::UNSET,
    coordinates::frame frm=coordinates::RIGHT_HANDED_Y_UP,
    coordinates::reference_space ref=coordinates::VIEWER,
    const float confidence_=0.
) 

Construct an instance based on the given data

Parameters:

  • sensor_time_ Time associated with htese data
  • position_ The positional part of the pose
  • orientation_ RThe rotational part of the pose
  • unit_ The units for the pose, default is UNSET
  • 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)

function pose_type [4/4]

inline ILLIXR::data_format::pose_type::pose_type (
    time_point sensor_time_,
    pose_data & other
) 

Construct an instance using the given pose

Parameters:

  • sensor_time_ The timne associated with the pose
  • other The pose to use


The documentation for this class was generated from the following file /home/friedel/tmp/ILLIXR/include/illixr/data_format/pose.hpp