NDEVR
API Documentation
LocalVideoRenderer

A QGraphicsVideoItem subclass that provides custom rendering for local camera video streams. More...

Public Member Functions

 LocalVideoRenderer (QGraphicsItem *parent=nullptr)
 Constructs a LocalVideoRenderer with an optional parent graphics item.
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override
 Paints the video frame with custom rendering logic.

Detailed Description

A QGraphicsVideoItem subclass that provides custom rendering for local camera video streams.


Definition at line 8 of file LocalVideoRenderer.h.

Constructor & Destructor Documentation

◆ LocalVideoRenderer()

LocalVideoRenderer::LocalVideoRenderer ( QGraphicsItem * parent = nullptr)
explicit

Constructs a LocalVideoRenderer with an optional parent graphics item.

Parameters
[in]parentThe parent graphics item.

Member Function Documentation

◆ paint()

void LocalVideoRenderer::paint ( QPainter * painter,
const QStyleOptionGraphicsItem * option,
QWidget * widget = nullptr )
override

Paints the video frame with custom rendering logic.

Parameters
[in]painterThe QPainter to draw with.
[in]optionThe style options for the item.
[in]widgetThe widget being painted on.

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