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

#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

Detailed Description

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 71 of file viewstate.h.

Member Function Documentation

◆ isObjectVisible()

bool 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 52 of file viewstate.cpp.

◆ load()

void 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 109 of file viewstate.cpp.

◆ save()

void 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 138 of file viewstate.cpp.

◆ setObjectVisible()

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

Set visibility of a named object.

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

Definition at line 81 of file viewstate.cpp.

Member Data Documentation

◆ bemHead

bool ViewVisibilityProfile::bemHead = true

Definition at line 75 of file viewstate.h.

◆ bemInnerSkull

bool ViewVisibilityProfile::bemInnerSkull = true

Definition at line 77 of file viewstate.h.

◆ bemOuterSkull

bool ViewVisibilityProfile::bemOuterSkull = true

Definition at line 76 of file viewstate.h.

◆ dig

bool ViewVisibilityProfile::dig = false

Definition at line 83 of file viewstate.h.

◆ digCardinal

bool ViewVisibilityProfile::digCardinal = false

Definition at line 84 of file viewstate.h.

◆ digEeg

bool ViewVisibilityProfile::digEeg = false

Definition at line 86 of file viewstate.h.

◆ digExtra

bool ViewVisibilityProfile::digExtra = false

Definition at line 87 of file viewstate.h.

◆ digHpi

bool ViewVisibilityProfile::digHpi = false

Definition at line 85 of file viewstate.h.

◆ dipoles

bool ViewVisibilityProfile::dipoles = true

Definition at line 92 of file viewstate.h.

◆ eegFieldContours

bool ViewVisibilityProfile::eegFieldContours = false

Definition at line 91 of file viewstate.h.

◆ eegFieldMap

bool ViewVisibilityProfile::eegFieldMap = false

Definition at line 89 of file viewstate.h.

◆ lh

bool ViewVisibilityProfile::lh = true

Definition at line 73 of file viewstate.h.

◆ megFieldContours

bool ViewVisibilityProfile::megFieldContours = false

Definition at line 90 of file viewstate.h.

◆ megFieldMap

bool ViewVisibilityProfile::megFieldMap = false

Definition at line 88 of file viewstate.h.

◆ megFieldMapOnHead

bool ViewVisibilityProfile::megFieldMapOnHead = false

Definition at line 95 of file viewstate.h.

◆ network

bool ViewVisibilityProfile::network = false

Definition at line 94 of file viewstate.h.

◆ rh

bool ViewVisibilityProfile::rh = true

Definition at line 74 of file viewstate.h.

◆ sensEeg

bool ViewVisibilityProfile::sensEeg = false

Definition at line 82 of file viewstate.h.

◆ sensMeg

bool ViewVisibilityProfile::sensMeg = false

Definition at line 78 of file viewstate.h.

◆ sensMegGrad

bool ViewVisibilityProfile::sensMegGrad = false

Definition at line 79 of file viewstate.h.

◆ sensMegHelmet

bool ViewVisibilityProfile::sensMegHelmet = false

Definition at line 81 of file viewstate.h.

◆ sensMegMag

bool ViewVisibilityProfile::sensMegMag = false

Definition at line 80 of file viewstate.h.

◆ sourceSpace

bool ViewVisibilityProfile::sourceSpace = false

Definition at line 93 of file viewstate.h.


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