Viewport geometry, splitter logic and per-pane preset assignment for the disp3D multi-view grid. More...
#include "../disp3D_global.h"#include <QRect>#include <QSize>#include <QPoint>#include <QVector>#include <Qt>

Go to the source code of this file.
Classes | |
| class | DISP3DLIB::MultiViewLayout |
| Multi-view geometry computations. More... | |
Namespaces | |
| namespace | DISP3DLIB |
| 3-D brain visualisation using the Qt RHI rendering backend. | |
Enumerations | |
| enum class | DISP3DLIB::SplitterHit { DISP3DLIB::None , DISP3DLIB::Vertical , DISP3DLIB::Horizontal , DISP3DLIB::Both } |
Viewport geometry, splitter logic and per-pane preset assignment for the disp3D multi-view grid.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
MultiViewLayout computes the four sub-viewports (Top-left perspective, Top-right orthographic top, Bottom-left orthographic left, Bottom-right orthographic front) inside the owning QRhiWidget, honours user-dragged splitter ratios, and publishes the per-pane DISP3DLIB::SubView so the camera and renderer can set viewport / scissor and pick the right matrix preset.
Definition in file multiviewlayout.h.