Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::tracking::constellation::DeviceState Struct Reference
Collaboration diagram for xrt::tracking::constellation::DeviceState:

Data Fields

t_constellation_device_id_t device_id {XRT_CONSTELLATION_INVALID_DEVICE_ID}
 The ID of the device.
 
std::optional< xrt_pose > Txr_world_device_prior {std::nullopt}
 The predicted pose of the device in the world at the time of the sample.
 
std::optional< xrt_space_relation > Tcv_cam_device_predicted {std::nullopt}
 The predicted pose of the device relative to the camera at the time of the sample.
 
std::optional< FoundDevicePose > found_pose {std::nullopt}
 The final found pose of the device in this specific sample.
 
bool needs_slow_processing {false}
 Whether the device needs to have the slow processing thread run over it.
 

Field Documentation

◆ device_id

t_constellation_device_id_t xrt::tracking::constellation::DeviceState::device_id {XRT_CONSTELLATION_INVALID_DEVICE_ID}

The ID of the device.

Referenced by xrt::tracking::constellation::RerunContext::logSample().

◆ found_pose

std::optional<FoundDevicePose> xrt::tracking::constellation::DeviceState::found_pose {std::nullopt}

The final found pose of the device in this specific sample.

Referenced by xrt::tracking::constellation::RerunContext::logSample().

◆ needs_slow_processing

bool xrt::tracking::constellation::DeviceState::needs_slow_processing {false}

Whether the device needs to have the slow processing thread run over it.

Referenced by xrt::tracking::constellation::Camera::processSampleFast().

◆ Tcv_cam_device_predicted

std::optional<xrt_space_relation> xrt::tracking::constellation::DeviceState::Tcv_cam_device_predicted {std::nullopt}

The predicted pose of the device relative to the camera at the time of the sample.

Referenced by xrt::tracking::constellation::device_state_camera_distance_sqrd(), and xrt::tracking::constellation::Camera::processSampleFast().

◆ Txr_world_device_prior

std::optional<xrt_pose> xrt::tracking::constellation::DeviceState::Txr_world_device_prior {std::nullopt}

The predicted pose of the device in the world at the time of the sample.

Referenced by xrt::tracking::constellation::RerunContext::logSample(), and xrt::tracking::constellation::Camera::processSampleFast().


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