51 #include <QGuiApplication>
76 int main(
int argc,
char *argv[])
78 QGuiApplication app(argc, argv);
80 QFile t_File(
"./MNE-sample-data/MEG/sample/sample_audvis-meg-eeg-oct-6-fwd.fif");
85 if (view.stereoType() != QGLView::RedCyanAnaglyph)
86 view.camera()->setEyeSeparation(0.3f);
87 QStringList args = QCoreApplication::arguments();
88 int w_pos = args.indexOf(
"-width");
89 int h_pos = args.indexOf(
"-height");
90 if (w_pos >= 0 && h_pos >= 0)
93 int w = args.at(w_pos + 1).toInt(&ok);
96 qWarning() <<
"Could not parse width argument:" << args;
99 int h = args.at(h_pos + 1).toInt(&ok);
102 qWarning() <<
"Could not parse height argument:" << args;
109 view.resize(800, 600);
MNEForwardSolution class declaration, which provides the forward solution including the source space ...
Declaration of the GeometryView Class.