MNE-CPP
0.1.9
A Framework for Electrophysiology
src
libraries
fwd
computeFwd
compute_fwd_settings.h
Go to the documentation of this file.
1
//=============================================================================================================
37
#ifndef COMPUTEFWDSETTINGS_H
38
#define COMPUTEFWDSETTINGS_H
39
40
//=============================================================================================================
41
// INCLUDES
42
//=============================================================================================================
43
44
#include "../fwd_global.h"
45
#include <
fiff/fiff_constants.h
>
46
#include <
fiff/fiff_info.h
>
47
#include <
fiff/c/fiff_coord_trans_old.h
>
48
//=============================================================================================================
49
// EIGEN INCLUDES
50
//=============================================================================================================
51
52
#include <Eigen/Core>
53
54
//=============================================================================================================
55
// QT INCLUDES
56
//=============================================================================================================
57
58
#include <QSharedPointer>
59
#include <QString>
60
#include <QStringList>
61
62
//=============================================================================================================
63
// DEFINE NAMESPACE FWDLIB
64
//=============================================================================================================
65
66
namespace
FWDLIB
67
{
68
69
//=============================================================================================================
70
// FORWARD DECLARATIONS
71
//=============================================================================================================
72
73
//=============================================================================================================
79
class
FWDSHARED_EXPORT
ComputeFwdSettings
80
{
81
public
:
82
typedef
QSharedPointer<ComputeFwdSettings>
SPtr
;
83
typedef
QSharedPointer<const ComputeFwdSettings>
ConstSPtr
;
85
//=========================================================================================================
89
explicit
ComputeFwdSettings
();
90
91
//=========================================================================================================
98
explicit
ComputeFwdSettings
(
int
*argc,
char
**argv);
99
100
//=========================================================================================================
104
virtual
~
ComputeFwdSettings
();
105
106
//=========================================================================================================
110
void
checkIntegrity();
111
112
public
:
113
QString
srcname
;
114
QString
measname
;
115
QString
mriname
;
116
QString
transname
;
117
bool
mri_head_ident
;
118
QString
bemname
;
119
QString
solname
;
120
QString
mindistoutname
;
121
bool
filter_spaces
;
122
Eigen::Vector3f
r0
;
123
bool
accurate
;
124
bool
fixed_ori
;
125
bool
include_meg;
126
bool
include_eeg;
127
bool
compute_grad;
128
QString
command
;
129
float
mindist
;
130
int
coord_frame
;
131
bool
do_all;
132
QStringList
labels
;
133
int
nlabel;
134
135
QString
eeg_model_file
;
136
QString
eeg_model_name
;
137
float
eeg_sphere_rad
;
138
bool
scale_eeg_pos
;
139
bool
use_equiv_eeg
;
140
bool
use_threads
;
142
QSharedPointer<FIFFLIB::FiffInfo>
pFiffInfo
;
143
FIFFLIB::FiffCoordTransOld
*
meg_head_t
;
145
private
:
146
void
initMembers();
147
void
usage(
char
*name);
148
149
static
QString build_command_line(QString old, QString new_item);
150
151
bool
check_unrecognized_args(
int
argc,
char
**argv);
152
bool
check_args (
int
*argc,
char
**argv);
153
};
154
155
//=============================================================================================================
156
// INLINE DEFINITIONS
157
//=============================================================================================================
158
}
//NAMESPACE
159
160
#endif // COMPUTEFWDSETTINGS_H
FWDLIB::ComputeFwdSettings::r0
Eigen::Vector3f r0
Definition:
compute_fwd_settings.h:122
FWDLIB::ComputeFwdSettings::coord_frame
int coord_frame
Definition:
compute_fwd_settings.h:130
FWDLIB::ComputeFwdSettings::mriname
QString mriname
Definition:
compute_fwd_settings.h:115
FWDLIB::ComputeFwdSettings::solname
QString solname
Definition:
compute_fwd_settings.h:119
FWDLIB::ComputeFwdSettings::eeg_sphere_rad
float eeg_sphere_rad
Definition:
compute_fwd_settings.h:137
FWDLIB::ComputeFwdSettings::use_equiv_eeg
bool use_equiv_eeg
Definition:
compute_fwd_settings.h:139
FWDLIB::ComputeFwdSettings::measname
QString measname
Definition:
compute_fwd_settings.h:114
FWDLIB::ComputeFwdSettings::scale_eeg_pos
bool scale_eeg_pos
Definition:
compute_fwd_settings.h:138
FWDLIB::ComputeFwdSettings::srcname
QString srcname
Definition:
compute_fwd_settings.h:113
FWDLIB::ComputeFwdSettings::labels
QStringList labels
Definition:
compute_fwd_settings.h:132
FWDLIB::ComputeFwdSettings::transname
QString transname
Definition:
compute_fwd_settings.h:116
FWDLIB::ComputeFwdSettings::mindist
float mindist
Definition:
compute_fwd_settings.h:129
FIFFLIB::FiffCoordTransOld
Coordinate transformation descriptor.
Definition:
fiff_coord_trans_old.h:80
FWDSHARED_EXPORT
#define FWDSHARED_EXPORT
Definition:
fwd_global.h:57
FWDLIB::ComputeFwdSettings::filter_spaces
bool filter_spaces
Definition:
compute_fwd_settings.h:121
FWDLIB::ComputeFwdSettings::mindistoutname
QString mindistoutname
Definition:
compute_fwd_settings.h:120
FWDLIB::ComputeFwdSettings::bemname
QString bemname
Definition:
compute_fwd_settings.h:118
FWDLIB::ComputeFwdSettings::command
QString command
Definition:
compute_fwd_settings.h:128
FWDLIB::ComputeFwdSettings::ConstSPtr
QSharedPointer< const ComputeFwdSettings > ConstSPtr
Definition:
compute_fwd_settings.h:83
FWDLIB::ComputeFwdSettings::SPtr
QSharedPointer< ComputeFwdSettings > SPtr
Definition:
compute_fwd_settings.h:82
FWDLIB::ComputeFwdSettings::accurate
bool accurate
Definition:
compute_fwd_settings.h:123
fiff_constants.h
Fiff constants.
FWDLIB::ComputeFwdSettings
Compute Forward setting implementation.
Definition:
compute_fwd_settings.h:79
fiff_info.h
FiffInfo class declaration.
FWDLIB::ComputeFwdSettings::meg_head_t
FIFFLIB::FiffCoordTransOld * meg_head_t
Definition:
compute_fwd_settings.h:143
FWDLIB::ComputeFwdSettings::use_threads
bool use_threads
Definition:
compute_fwd_settings.h:140
FWDLIB::ComputeFwdSettings::eeg_model_name
QString eeg_model_name
Definition:
compute_fwd_settings.h:136
FWDLIB::ComputeFwdSettings::fixed_ori
bool fixed_ori
Definition:
compute_fwd_settings.h:124
FWDLIB::ComputeFwdSettings::eeg_model_file
QString eeg_model_file
Definition:
compute_fwd_settings.h:135
FWDLIB::ComputeFwdSettings::mri_head_ident
bool mri_head_ident
Definition:
compute_fwd_settings.h:117
fiff_coord_trans_old.h
FiffCoordTransOld class declaration.
FWDLIB::ComputeFwdSettings::pFiffInfo
QSharedPointer< FIFFLIB::FiffInfo > pFiffInfo
Definition:
compute_fwd_settings.h:142
Generated on Wed Aug 9 2023 17:55:41 for MNE-CPP by
1.8.17