|
Monado OpenXR Runtime
|
Public Member Functions | |
| void | LogSample (const ConstellationTracker &tracker, const CameraSample &camera_sample) |
| Log a camera sample to rerun. | |
| void | LogImageFrame (const ConstellationTracker &tracker, uint32_t mosaic_index, uint32_t camera_index, const xrt_frame &frame) |
| Logs a camera's image frame to rerun. | |
Data Fields | |
| std::unique_ptr< rerun::RecordingStream > | stream {} |
| void xrt::tracking::constellation::RerunContext::LogImageFrame | ( | const ConstellationTracker & | tracker, |
| uint32_t | mosaic_index, | ||
| uint32_t | camera_index, | ||
| const xrt_frame & | frame | ||
| ) |
Logs a camera's image frame to rerun.
| mosaic_index | The index of the mosaic the camera belongs to. |
| camera_index | The index of the camera in the mosaic. |
| frame | The camera's image frame. |
| void xrt::tracking::constellation::RerunContext::LogSample | ( | const ConstellationTracker & | tracker, |
| const CameraSample & | camera_sample | ||
| ) |
Log a camera sample to rerun.
tracker->device_lock held.| tracker | The constellation tracker. |
| camera_sample | The camera sample to log. |
References xrt::tracking::constellation::DeviceState::device_id, xrt::tracking::constellation::DeviceState::found_pose, xrt::tracking::constellation::CameraSample::Txr_world_cam, xrt::tracking::constellation::DeviceState::Txr_world_device_prior, and U_LOG_W.