Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
Public Member Functions | Public Attributes | List of all members
SR::VideoFrame Class Reference

Class containing an image recorded by a Camera. More...

#include <videoframe.h>

Public Member Functions

 operator SR_videoFrame ()
 

Public Attributes

uint64_t frameId
 
uint64_t time
 
uint64_t streamId
 
std::shared_ptr< cv::Mat > image
 

Detailed Description

Class containing an image recorded by a Camera.

The class can be converted to a C-compatible struct when required, the original C++ object should be kept in scope to guarantee the image data being available. If the memory is copied the ownership is no longer governed by the shared_ptr.

Member Function Documentation

◆ operator SR_videoFrame()

SR::VideoFrame::operator SR_videoFrame ( )
inline

Member Data Documentation

◆ frameId

uint64_t SR::VideoFrame::frameId

◆ image

std::shared_ptr<cv::Mat> SR::VideoFrame::image

◆ streamId

uint64_t SR::VideoFrame::streamId

◆ time

uint64_t SR::VideoFrame::time

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