v2.0.0
Loading...
Searching...
No Matches
DISP3DLIB::ViewVisibilityProfile Struct Reference

Per-view toggle flags controlling which data layers (brain, sensors, sources, network) are visible. More...

#include <viewstate.h>

Public Member Functions

bool isObjectVisible (const QString &object) const
void setObjectVisible (const QString &object, bool visible)
void load (const QSettings &settings, const QString &prefix)
void save (QSettings &settings, const QString &prefix) const

Public Attributes

bool lh = true
bool rh = true
bool bemHead = true
bool bemOuterSkull = true
bool bemInnerSkull = true
bool sensMeg = false
bool sensMegGrad = false
bool sensMegMag = false
bool sensMegHelmet = false
bool sensEeg = false
bool dig = false
bool digCardinal = false
bool digHpi = false
bool digEeg = false
bool digExtra = false
bool megFieldMap = false
bool eegFieldMap = false
bool megFieldContours = false
bool eegFieldContours = false
bool dipoles = true
bool sourceSpace = false
bool network = false
bool megFieldMapOnHead = false
bool mriSlices = true

Detailed Description

Per-view toggle flags controlling which data layers (brain, sensors, sources, network) are visible.

Per-object visibility flags for a single viewport.

Every viewport (single-view or multi-view pane) carries an independent visibility profile so that each pane can show a different combination of objects.

Definition at line 67 of file viewstate.h.

Member Function Documentation

◆ isObjectVisible()

bool DISP3DLIB::ViewVisibilityProfile::isObjectVisible ( const QString & object) const

Query visibility of a named object.

Parameters
[in]objectObject key (e.g. "lh", "bem_head", "sens_meg").
Returns
True if visible.

Definition at line 33 of file viewstate.cpp.

◆ load()

void DISP3DLIB::ViewVisibilityProfile::load ( const QSettings & settings,
const QString & prefix )

Load this profile from QSettings under the given key prefix.

Parameters
[in]settingsSettings store to read from.
[in]prefixQSettings key prefix (e.g. "singleVis_").

Definition at line 138 of file viewstate.cpp.

◆ save()

void DISP3DLIB::ViewVisibilityProfile::save ( QSettings & settings,
const QString & prefix ) const

Save this profile to QSettings under the given key prefix.

Parameters
[out]settingsSettings store to write to.
[in]prefixQSettings key prefix.

Definition at line 168 of file viewstate.cpp.

◆ setObjectVisible()

void DISP3DLIB::ViewVisibilityProfile::setObjectVisible ( const QString & object,
bool visible )

Set visibility of a named object.

Parameters
[in]objectObject key.
[in]visibleNew visibility state.

Definition at line 86 of file viewstate.cpp.

Member Data Documentation

◆ bemHead

bool DISP3DLIB::ViewVisibilityProfile::bemHead = true

Definition at line 71 of file viewstate.h.

◆ bemInnerSkull

bool DISP3DLIB::ViewVisibilityProfile::bemInnerSkull = true

Definition at line 73 of file viewstate.h.

◆ bemOuterSkull

bool DISP3DLIB::ViewVisibilityProfile::bemOuterSkull = true

Definition at line 72 of file viewstate.h.

◆ dig

bool DISP3DLIB::ViewVisibilityProfile::dig = false

Definition at line 79 of file viewstate.h.

◆ digCardinal

bool DISP3DLIB::ViewVisibilityProfile::digCardinal = false

Definition at line 80 of file viewstate.h.

◆ digEeg

bool DISP3DLIB::ViewVisibilityProfile::digEeg = false

Definition at line 82 of file viewstate.h.

◆ digExtra

bool DISP3DLIB::ViewVisibilityProfile::digExtra = false

Definition at line 83 of file viewstate.h.

◆ digHpi

bool DISP3DLIB::ViewVisibilityProfile::digHpi = false

Definition at line 81 of file viewstate.h.

◆ dipoles

bool DISP3DLIB::ViewVisibilityProfile::dipoles = true

Definition at line 88 of file viewstate.h.

◆ eegFieldContours

bool DISP3DLIB::ViewVisibilityProfile::eegFieldContours = false

Definition at line 87 of file viewstate.h.

◆ eegFieldMap

bool DISP3DLIB::ViewVisibilityProfile::eegFieldMap = false

Definition at line 85 of file viewstate.h.

◆ lh

bool DISP3DLIB::ViewVisibilityProfile::lh = true

Definition at line 69 of file viewstate.h.

◆ megFieldContours

bool DISP3DLIB::ViewVisibilityProfile::megFieldContours = false

Definition at line 86 of file viewstate.h.

◆ megFieldMap

bool DISP3DLIB::ViewVisibilityProfile::megFieldMap = false

Definition at line 84 of file viewstate.h.

◆ megFieldMapOnHead

bool DISP3DLIB::ViewVisibilityProfile::megFieldMapOnHead = false

Definition at line 91 of file viewstate.h.

◆ mriSlices

bool DISP3DLIB::ViewVisibilityProfile::mriSlices = true

Definition at line 92 of file viewstate.h.

◆ network

bool DISP3DLIB::ViewVisibilityProfile::network = false

Definition at line 90 of file viewstate.h.

◆ rh

bool DISP3DLIB::ViewVisibilityProfile::rh = true

Definition at line 70 of file viewstate.h.

◆ sensEeg

bool DISP3DLIB::ViewVisibilityProfile::sensEeg = false

Definition at line 78 of file viewstate.h.

◆ sensMeg

bool DISP3DLIB::ViewVisibilityProfile::sensMeg = false

Definition at line 74 of file viewstate.h.

◆ sensMegGrad

bool DISP3DLIB::ViewVisibilityProfile::sensMegGrad = false

Definition at line 75 of file viewstate.h.

◆ sensMegHelmet

bool DISP3DLIB::ViewVisibilityProfile::sensMegHelmet = false

Definition at line 77 of file viewstate.h.

◆ sensMegMag

bool DISP3DLIB::ViewVisibilityProfile::sensMegMag = false

Definition at line 76 of file viewstate.h.

◆ sourceSpace

bool DISP3DLIB::ViewVisibilityProfile::sourceSpace = false

Definition at line 89 of file viewstate.h.


The documentation for this struct was generated from the following files: