v2.0.0
Loading...
Searching...
No Matches
mne_vol_geom.h
Go to the documentation of this file.
1//=============================================================================================================
18
19#ifndef MNEVOLGEOM_H
20#define MNEVOLGEOM_H
21
22//=============================================================================================================
23// INCLUDES
24//=============================================================================================================
25
26#include "mne_global.h"
27
28//=============================================================================================================
29// EIGEN INCLUDES
30//=============================================================================================================
31
32#include <Eigen/Core>
33
34//=============================================================================================================
35// QT INCLUDES
36//=============================================================================================================
37
38#include <QSharedPointer>
39#include <QString>
40
41//=============================================================================================================
42// DEFINE NAMESPACE MNELIB
43//=============================================================================================================
44
45namespace MNELIB
46{
47
48//=============================================================================================================
49// FORWARD DECLARATIONS
50//=============================================================================================================
51
52//=============================================================================================================
59{
60public:
61 typedef QSharedPointer<MNEVolGeom> SPtr;
62 typedef QSharedPointer<const MNEVolGeom> ConstSPtr;
63
64 //=========================================================================================================
68 MNEVolGeom();
69
70 //=========================================================================================================
76
77public:
78 int valid;
81 float x_ras[3],y_ras[3],z_ras[3];
82 float c_ras[3];
83 QString filename;
84
85// ### OLD STRUCT ###
86//typedef struct {
87// int valid; /* Is the information below valid */
88// int width,height,depth; /* Size of the stack */
89// float xsize,ysize,zsize; /* Increments in the three voxel directions */
90// float x_ras[3],y_ras[3],z_ras[3]; /* Directions of the coordinate axes */
91// float c_ras[3]; /* Center of the RAS coordinates */
92// char *filename; /* Name of the MRI data file */
93//} *mneVolGeom,mneVolGeomRec; /* MRI data volume geometry information like FreeSurfer keeps it */
94};
95
96//=============================================================================================================
97// INLINE DEFINITIONS
98//=============================================================================================================
99} // NAMESPACE MNELIB
100
101#endif // MNEVOLGEOM_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Core MNE data structures (source spaces, source estimates, hemispheres).
QSharedPointer< MNEVolGeom > SPtr
QSharedPointer< const MNEVolGeom > ConstSPtr