cgv
vr::vr_trackable_state Struct Reference

a trackable knows whether it is tracked and its 6d pose stored as 3x4 matrix in column major format More...

#include <vr_state.h>

Inheritance diagram for vr::vr_trackable_state:
vr::vr_controller_state

Public Member Functions

bool operator== (const vr_trackable_state &state) const
 equality check
 
 vr_trackable_state ()
 standard constructor for initialization of members
 

Public Attributes

VRStatus status
 whether trackable is currently tracked, only in case of true, the pose member contains useful information
 
float pose [12]
 pose as 3x4 matrix in column major format, where each column is a vector in world coordinates More...
 

Detailed Description

a trackable knows whether it is tracked and its 6d pose stored as 3x4 matrix in column major format

provides vr_trackable_state::status as vr::VRStatus and vr_trackable_state::pose of a trackable sub device where the pose is stored in a 3x4 column major format

Member Data Documentation

◆ pose

float vr::vr_trackable_state::pose[12]

pose as 3x4 matrix in column major format, where each column is a vector in world coordinates

  • pose[0..2] ... x-axis pointing to the right
  • pose[3..5] ... y-axis pointing up
  • pose[6..8] ... z-axis pointing backwards
  • pose[9..11] ... location of trackable's origin

The documentation for this struct was generated from the following files: