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

QRhi-based GPU-accelerated channel time-series renderer used by the modern raw browser. More...

#include "../../disp_global.h"
#include "channeldatamodel.h"
#include <QColor>
#include <QElapsedTimer>
#include <QFutureWatcher>
#include <QImage>
#include <QMouseEvent>
#include <QPaintEvent>
#include <QPointer>
#include <QPropertyAnimation>
#include <QRhiWidget>
#include <QResizeEvent>
#include <QWheelEvent>
#include <QtConcurrent>
#include <memory>
#include <vector>
Include dependency graph for channelrhiview.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::ChannelRhiView
 QRhi-based GPU-accelerated channel time-series renderer used by the modern raw browser. More...
struct  DISPLIB::ChannelRhiView::EventMarker
 Stimulus / event marker — a coloured vertical line at a given sample. More...
struct  DISPLIB::ChannelRhiView::AnnotationSpan
 Time-span annotation overlay. More...

Namespaces

namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).

Detailed Description

QRhi-based GPU-accelerated channel time-series renderer used by the modern raw browser.

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.1.0
Date
March 2026

ChannelRhiView replaces the legacy QPainter raw-trace painter with a QRhiWidget that uploads channel data as vertex buffers and draws every visible trace in a single shader invocation. It manages its own pipeline, samplers, resource bindings and a small CrosshairOverlay for the time / amplitude cursor, and exposes callbacks for the host ChannelDataView to push new samples, change scaling or update the visible window.

Definition in file channelrhiview.h.