Monado OpenXR Runtime
Loading...
Searching...
No Matches
m_relation_history.h File Reference

Small utility for keeping track of the history of an xrt_space_relation, ie. More...

#include "xrt/xrt_defines.h"
Include dependency graph for m_relation_history.h:

Go to the source code of this file.

Enumerations

enum  m_relation_history_result {
  M_RELATION_HISTORY_RESULT_INVALID = 0 , M_RELATION_HISTORY_RESULT_EXACT , M_RELATION_HISTORY_RESULT_INTERPOLATED , M_RELATION_HISTORY_RESULT_PREDICTED ,
  M_RELATION_HISTORY_RESULT_REVERSE_PREDICTED
}
 Describes how the resulting space relation for the desired time stamp was generated. More...
 

Detailed Description

Small utility for keeping track of the history of an xrt_space_relation, ie.

for knowing where a HMD or controller was in the past

Author
Moshi Turner moshi.nosp@m.turn.nosp@m.er@pr.nosp@m.oton.nosp@m.mail..nosp@m.com
Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com
Korcan Hussein korca.nosp@m.n.hu.nosp@m.ssein.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Enumeration Type Documentation

◆ m_relation_history_result

Describes how the resulting space relation for the desired time stamp was generated.

Enumerator
M_RELATION_HISTORY_RESULT_INVALID 

The supplied timestamp was invalid (0) or buffer was empty.

M_RELATION_HISTORY_RESULT_EXACT 

The exact desired timestamp was found.

M_RELATION_HISTORY_RESULT_INTERPOLATED 

The desired timestamp was between two entries.

M_RELATION_HISTORY_RESULT_PREDICTED 

The desired timestamp was newer than the most recent entry.

M_RELATION_HISTORY_RESULT_REVERSE_PREDICTED 

The desired timestamp was older than the oldest entry.