#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 |
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.
| bool ViewVisibilityProfile::isObjectVisible | ( | const QString & | object | ) | const |
Query visibility of a named object.
| [in] | object | Object key (e.g. "lh", "bem_head", "sens_meg"). |
Definition at line 52 of file viewstate.cpp.
| void ViewVisibilityProfile::load | ( | const QSettings & | settings, |
| const QString & | prefix ) |
Load this profile from QSettings under the given key prefix.
| [in] | settings | Settings store to read from. |
| [in] | prefix | QSettings key prefix (e.g. "singleVis_"). |
Definition at line 109 of file viewstate.cpp.
| void ViewVisibilityProfile::save | ( | QSettings & | settings, |
| const QString & | prefix ) const |
Save this profile to QSettings under the given key prefix.
| [out] | settings | Settings store to write to. |
| [in] | prefix | QSettings key prefix. |
Definition at line 138 of file viewstate.cpp.
| void ViewVisibilityProfile::setObjectVisible | ( | const QString & | object, |
| bool | visible ) |
Set visibility of a named object.
| [in] | object | Object key. |
| [in] | visible | New visibility state. |
Definition at line 81 of file viewstate.cpp.
| bool ViewVisibilityProfile::bemHead = true |
Definition at line 75 of file viewstate.h.
| bool ViewVisibilityProfile::bemInnerSkull = true |
Definition at line 77 of file viewstate.h.
| bool ViewVisibilityProfile::bemOuterSkull = true |
Definition at line 76 of file viewstate.h.
| bool ViewVisibilityProfile::dig = false |
Definition at line 83 of file viewstate.h.
| bool ViewVisibilityProfile::digCardinal = false |
Definition at line 84 of file viewstate.h.
| bool ViewVisibilityProfile::digEeg = false |
Definition at line 86 of file viewstate.h.
| bool ViewVisibilityProfile::digExtra = false |
Definition at line 87 of file viewstate.h.
| bool ViewVisibilityProfile::digHpi = false |
Definition at line 85 of file viewstate.h.
| bool ViewVisibilityProfile::dipoles = true |
Definition at line 92 of file viewstate.h.
| bool ViewVisibilityProfile::eegFieldContours = false |
Definition at line 91 of file viewstate.h.
| bool ViewVisibilityProfile::eegFieldMap = false |
Definition at line 89 of file viewstate.h.
| bool ViewVisibilityProfile::lh = true |
Definition at line 73 of file viewstate.h.
| bool ViewVisibilityProfile::megFieldContours = false |
Definition at line 90 of file viewstate.h.
| bool ViewVisibilityProfile::megFieldMap = false |
Definition at line 88 of file viewstate.h.
| bool ViewVisibilityProfile::megFieldMapOnHead = false |
Definition at line 95 of file viewstate.h.
| bool ViewVisibilityProfile::network = false |
Definition at line 94 of file viewstate.h.
| bool ViewVisibilityProfile::rh = true |
Definition at line 74 of file viewstate.h.
| bool ViewVisibilityProfile::sensEeg = false |
Definition at line 82 of file viewstate.h.
| bool ViewVisibilityProfile::sensMeg = false |
Definition at line 78 of file viewstate.h.
| bool ViewVisibilityProfile::sensMegGrad = false |
Definition at line 79 of file viewstate.h.
| bool ViewVisibilityProfile::sensMegHelmet = false |
Definition at line 81 of file viewstate.h.
| bool ViewVisibilityProfile::sensMegMag = false |
Definition at line 80 of file viewstate.h.
| bool ViewVisibilityProfile::sourceSpace = false |
Definition at line 93 of file viewstate.h.