Skip to content

Struct ILLIXR::data_format::pose::xrt_space_relation

ClassList > ILLIXR > data_format > pose > xrt_space_relation

More...

  • #include <openxr_defines.hpp>

Inherited by the following classes: ILLIXR::data_format::pose::hand_interaction_pose, ILLIXR::data_format::pose::palm_pose

Public Attributes

Type Name
struct XrVector3f angular_velocity
instantaneous angular velocity of the pose
struct XrVector3f linear_velocity
instantaneous linear velocity of the pose
struct XrPosef pose
current pose
uint32_t relation_flags = {XRT\_SPACE\_RELATION\_BITMASK\_NONE}
validity flags

Public Functions

Type Name
void set_flags (const XrSpaceLocationFlags location_flags)
void set_flags (const XrSpaceLocationFlags location_flags, const XrSpaceVelocityFlags velocity_flags)
virtual bool valid () const
xrt_space_relation ()
xrt_space_relation (XrSpaceLocation location, XrSpaceVelocity velocity)

Detailed Description

A pose with linear and angular velocities and validity flags

See also: XrPosef

See also: XrVector3f

See also: xrt_space_relation_flags

Public Attributes Documentation

variable angular_velocity

instantaneous angular velocity of the pose

struct XrVector3f ILLIXR::data_format::pose::xrt_space_relation::angular_velocity;


variable linear_velocity

instantaneous linear velocity of the pose

struct XrVector3f ILLIXR::data_format::pose::xrt_space_relation::linear_velocity;


variable pose

current pose

struct XrPosef ILLIXR::data_format::pose::xrt_space_relation::pose;


variable relation_flags

validity flags

uint32_t ILLIXR::data_format::pose::xrt_space_relation::relation_flags;


Public Functions Documentation

function set_flags [1/2]

inline void ILLIXR::data_format::pose::xrt_space_relation::set_flags (
    const XrSpaceLocationFlags location_flags
) 

Set the flags to the given value

Parameters:

  • location_flags The value to set

function set_flags [2/2]

inline void ILLIXR::data_format::pose::xrt_space_relation::set_flags (
    const XrSpaceLocationFlags location_flags,
    const XrSpaceVelocityFlags velocity_flags
) 

Set the flags from a combination of location and velocity based flags

Parameters:

  • location_flags The location based flags to use
  • velocity_flags The velocity based flags to use

function valid

inline virtual bool ILLIXR::data_format::pose::xrt_space_relation::valid () const

Returns whether the location is considered valid

Returns:

True if both position and orientation are valid, False otherwise.


function xrt_space_relation [1/2]

inline ILLIXR::data_format::pose::xrt_space_relation::xrt_space_relation () 

Default constructor


function xrt_space_relation [2/2]

inline ILLIXR::data_format::pose::xrt_space_relation::xrt_space_relation (
    XrSpaceLocation location,
    XrSpaceVelocity velocity
) 

Constructor

Parameters:

  • location The location information to use
  • velocity The velocity information to use


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