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

Per-modality vertical-scale spinbox panel (one spin per channel type). More...

#include "../disp_global.h"
#include "abstractview.h"
#include <QMap>
#include <QPointer>
Include dependency graph for scalingview.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::ScalingView
 Per-modality y-scale spinbox panel built from ScaleControl widgets. More...

Namespaces

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

Functions

float DISPLIB::getDefaultScalingValue (int iChannelKind, int iChannelUnit)
float DISPLIB::getScalingValue (const QMap< qint32, float > &qMapChScaling, int iChannelKind, int iChannelUnit)

Detailed Description

Per-modality vertical-scale spinbox panel (one spin per channel type).

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Wayne F. Mead isk@i.nosp@m.msor.nosp@m.rykun.nosp@m..com; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
July 2018

ScalingView assembles a ScaleControl per channel modality in the active FiffInfo (MAG in fT, GRAD in fT/cm, EEG in µV, …) and emits a scalingChanged map every time the user nudges one. Consumed by RtFiffRawView, ChannelDataView and ButterflyView to translate raw SI units into screen units.

Definition in file scalingview.h.