|
Monado OpenXR Runtime
|
Small utility for keeping track of the history of an xrt_space_relation, ie. More...
#include "xrt/xrt_defines.h"#include "util/u_logging.h"#include "util/u_trace_marker.h"#include "glue/g_catch_guard.hpp"#include "m_relation_history.hpp"#include <memory>#include <stdint.h>
Functions | |
| static RelationHistory * | from_mrh (m_relation_history *mrh) |
| static const RelationHistory * | from_mrh (const m_relation_history *mrh) |
| void | m_relation_history_create (m_relation_history **rh_ptr) |
| bool | m_relation_history_push (m_relation_history *mrh, xrt_space_relation const *in_relation, int64_t timestamp) |
| bool | m_relation_history_push_or_update (m_relation_history *mrh, xrt_space_relation const *in_relation, int64_t timestamp) |
| enum m_relation_history_result | m_relation_history_get (const m_relation_history *mrh, int64_t at_timestamp_ns, xrt_space_relation *out_relation) |
| bool | m_relation_history_push_with_motion_estimation (m_relation_history *mrh, xrt_space_relation const *in_relation, int64_t timestamp) |
| bool | m_relation_history_get_latest (const m_relation_history *mrh, int64_t *out_time_ns, xrt_space_relation *out_relation) |
| bool | m_relation_history_get_exact (const m_relation_history *mrh, int64_t at_timestamp_ns, xrt_space_relation *out_relation) |
| bool | m_relation_history_get_nearest (const m_relation_history *mrh, int64_t at_timestamp_ns, int64_t max_slop_ns, int64_t *out_time_ns, xrt_space_relation *out_relation) |
| uint32_t | m_relation_history_get_size (const m_relation_history *mrh) |
| void | m_relation_history_clear (m_relation_history *mrh) |
| void | m_relation_history_destroy (m_relation_history **mrh_ptr) |
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.