Skip to content

Struct ILLIXR::data_format::pose::texture_pose

ClassList > ILLIXR > data_format > pose > texture_pose

Head pose paired with a rendered texture, used for asynchronous reprojection. More...

  • #include <head_pose.hpp>

Inherits the following classes: switchboard::event

Public Attributes

Type Name
unsigned char * image = {}
Eigen::Quaternionf latest_quaternion
duration offload_duration = {}
time_point pose_time = {}
Eigen::Vector3f position
Eigen::Quaternionf render_quaternion

Public Functions

Type Name
texture_pose () = default
texture_pose (duration offload_duration_, unsigned char * image_, time_point pose_time_, Eigen::Vector3f position_, Eigen::Quaternionf latest_quaternion_, Eigen::Quaternionf render_quaternion_)
Construct from explicit components.

Detailed Description

Carries both the pose at which a frame was rendered and the rendered image so that downstream stages can re-project the image to a more current pose.

Public Attributes Documentation

variable image

unsigned char* ILLIXR::data_format::pose::texture_pose::image;

variable latest_quaternion

Eigen::Quaternionf ILLIXR::data_format::pose::texture_pose::latest_quaternion;

variable offload_duration

duration ILLIXR::data_format::pose::texture_pose::offload_duration;

variable pose_time

time_point ILLIXR::data_format::pose::texture_pose::pose_time;

variable position

Eigen::Vector3f ILLIXR::data_format::pose::texture_pose::position;

variable render_quaternion

Eigen::Quaternionf ILLIXR::data_format::pose::texture_pose::render_quaternion;

Public Functions Documentation

function texture_pose [1/2]

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

function texture_pose [2/2]

Construct from explicit components.

inline ILLIXR::data_format::pose::texture_pose::texture_pose (
    duration offload_duration_,
    unsigned char * image_,
    time_point pose_time_,
    Eigen::Vector3f position_,
    Eigen::Quaternionf latest_quaternion_,
    Eigen::Quaternionf render_quaternion_
) 

Parameters:

  • offload_duration_ Time taken to offload / transfer the texture
  • image_ Pointer to the rendered image data
  • pose_time_ Timestamp of the pose used for rendering
  • position_ Translation at render time
  • latest_quaternion_ Most recent orientation at time of submission
  • render_quaternion_ Orientation used when the frame was rendered


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