Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::tracking::constellation::RerunContext Struct Reference
Inheritance diagram for xrt::tracking::constellation::RerunContext:
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.
 
- Public Member Functions inherited from xrt::tracking::constellation::RerunStream
 RerunStream (const std::string_view &recording_id)
 
void spawnViewer () const
 Starts a viewer for this stream and points the stream at it.
 

Additional Inherited Members

- Data Fields inherited from xrt::tracking::constellation::RerunStream
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 
)

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