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 | MultiViewLayout |
| Multi-view geometry computations. More... | |
Enumerations | |
| enum class | SplitterHit { None , Vertical , Horizontal , 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 SubView so the camera and renderer can set viewport / scissor and pick the right matrix preset.
Definition in file multiviewlayout.h.
|
strong |
Identifies which splitter(s) are hit by a cursor position.
| Enumerator | |
|---|---|
| None | |
| Vertical | |
| Horizontal | |
| Both | |
Definition at line 39 of file multiviewlayout.h.