v2.0.0
Loading...
Searching...
No Matches
videooverlay.h File Reference

Generic live-RGB video texture overlay rendered as a screen-aligned quad with chroma keying. More...

#include "../disp3D_global.h"
#include <QImage>
#include <QVector3D>
Include dependency graph for videooverlay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISP3DLIB::VideoOverlay
 Camera-facing textured quad rendered at a focus point in the 3-D scene. More...

Namespaces

namespace  DISP3DLIB
 3-D brain visualisation using the Qt RHI rendering backend.

Detailed Description

Generic live-RGB video texture overlay rendered as a screen-aligned quad with chroma keying.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.1
Date
April 2026

VideoOverlay accepts a stream of QImage frames (e.g. from a tracking webcam or a recorded video) and uploads each frame to a QRhi RGBA texture sampled by a screen-aligned quad. The overlay is composited after the 3-D scene with alpha blending so it can be used as a picture-in-picture reference, an AR background, or a chroma-keyed avatar overlay.

Definition in file videooverlay.h.