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

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 {}
 

Member Function Documentation

◆ LogImageFrame()

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.

Parameters
mosaic_indexThe index of the mosaic the camera belongs to.
camera_indexThe index of the camera in the mosaic.
frameThe camera's image frame.

◆ LogSample()

void xrt::tracking::constellation::RerunContext::LogSample ( const ConstellationTracker tracker,
const CameraSample camera_sample 
)

Log a camera sample to rerun.

Remarks
Call with tracker->device_lock held.
Parameters
trackerThe constellation tracker.
camera_sampleThe 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.


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