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

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>
Include dependency graph for multiviewlayout.h:
This graph shows which files directly or indirectly include this file:

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 }

Detailed Description

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

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

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.