v2.0.0
Loading...
Searching...
No Matches
src
libraries
mne
mne_vol_geom.h
Go to the documentation of this file.
1
//=============================================================================================================
36
37
#ifndef MNEVOLGEOM_H
38
#define MNEVOLGEOM_H
39
40
//=============================================================================================================
41
// INCLUDES
42
//=============================================================================================================
43
44
#include "
mne_global.h
"
45
46
//=============================================================================================================
47
// EIGEN INCLUDES
48
//=============================================================================================================
49
50
#include <Eigen/Core>
51
52
//=============================================================================================================
53
// QT INCLUDES
54
//=============================================================================================================
55
56
#include <QSharedPointer>
57
#include <QString>
58
59
//=============================================================================================================
60
// DEFINE NAMESPACE MNELIB
61
//=============================================================================================================
62
63
namespace
MNELIB
64
{
65
66
//=============================================================================================================
67
// FORWARD DECLARATIONS
68
//=============================================================================================================
69
70
//=============================================================================================================
76
class
MNESHARED_EXPORT
MNEVolGeom
77
{
78
public
:
79
typedef
QSharedPointer<MNEVolGeom>
SPtr
;
80
typedef
QSharedPointer<const MNEVolGeom>
ConstSPtr
;
81
82
//=========================================================================================================
86
MNEVolGeom
();
87
88
//=========================================================================================================
93
~MNEVolGeom
();
94
95
public
:
96
int
valid
;
97
int
width
,
height
,
depth
;
98
float
xsize
,
ysize
,
zsize
;
99
float
x_ras
[3],
y_ras
[3],
z_ras
[3];
100
float
c_ras
[3];
101
QString
filename
;
102
103
// ### OLD STRUCT ###
104
//typedef struct {
105
// int valid; /* Is the information below valid */
106
// int width,height,depth; /* Size of the stack */
107
// float xsize,ysize,zsize; /* Increments in the three voxel directions */
108
// float x_ras[3],y_ras[3],z_ras[3]; /* Directions of the coordinate axes */
109
// float c_ras[3]; /* Center of the RAS coordinates */
110
// char *filename; /* Name of the MRI data file */
111
//} *mneVolGeom,mneVolGeomRec; /* MRI data volume geometry information like FreeSurfer keeps it */
112
};
113
114
//=============================================================================================================
115
// INLINE DEFINITIONS
116
//=============================================================================================================
117
}
// NAMESPACE MNELIB
118
119
#endif
// MNEVOLGEOM_H
mne_global.h
mne library export/import macros.
MNESHARED_EXPORT
#define MNESHARED_EXPORT
Definition
mne_global.h:52
MNELIB
Core MNE data structures (source spaces, source estimates, hemispheres).
Definition
connectivitysettings.h:63
MNELIB::MNEVolGeom::zsize
float zsize
Definition
mne_vol_geom.h:98
MNELIB::MNEVolGeom::y_ras
float y_ras[3]
Definition
mne_vol_geom.h:99
MNELIB::MNEVolGeom::x_ras
float x_ras[3]
Definition
mne_vol_geom.h:99
MNELIB::MNEVolGeom::ysize
float ysize
Definition
mne_vol_geom.h:98
MNELIB::MNEVolGeom::width
int width
Definition
mne_vol_geom.h:97
MNELIB::MNEVolGeom::SPtr
QSharedPointer< MNEVolGeom > SPtr
Definition
mne_vol_geom.h:79
MNELIB::MNEVolGeom::ConstSPtr
QSharedPointer< const MNEVolGeom > ConstSPtr
Definition
mne_vol_geom.h:80
MNELIB::MNEVolGeom::z_ras
float z_ras[3]
Definition
mne_vol_geom.h:99
MNELIB::MNEVolGeom::xsize
float xsize
Definition
mne_vol_geom.h:98
MNELIB::MNEVolGeom::c_ras
float c_ras[3]
Definition
mne_vol_geom.h:100
MNELIB::MNEVolGeom::depth
int depth
Definition
mne_vol_geom.h:97
MNELIB::MNEVolGeom::valid
int valid
Definition
mne_vol_geom.h:96
MNELIB::MNEVolGeom::height
int height
Definition
mne_vol_geom.h:97
MNELIB::MNEVolGeom::MNEVolGeom
MNEVolGeom()
Definition
mne_vol_geom.cpp:54
MNELIB::MNEVolGeom::filename
QString filename
Definition
mne_vol_geom.h:101
Generated on
for MNE-CPP by
1.16.1