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  MultiViewLayout
 Multi-view geometry computations. More...

Enumerations

enum class  SplitterHit { None , Vertical , Horizontal , 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 SubView so the camera and renderer can set viewport / scissor and pick the right matrix preset.

Definition in file multiviewlayout.h.

Enumeration Type Documentation

◆ SplitterHit

enum class SplitterHit
strong

Identifies which splitter(s) are hit by a cursor position.

Enumerator
None 
Vertical 
Horizontal 
Both 

Definition at line 39 of file multiviewlayout.h.