v2.0.0
Loading...
Searching...
No Matches
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
63namespace MNELIB
64{
65
66//=============================================================================================================
67// FORWARD DECLARATIONS
68//=============================================================================================================
69
70//=============================================================================================================
77{
78public:
79 typedef QSharedPointer<MNEVolGeom> SPtr;
80 typedef QSharedPointer<const MNEVolGeom> ConstSPtr;
81
82 //=========================================================================================================
86 MNEVolGeom();
87
88 //=========================================================================================================
94
95public:
96 int valid;
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 library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
Core MNE data structures (source spaces, source estimates, hemispheres).
QSharedPointer< MNEVolGeom > SPtr
QSharedPointer< const MNEVolGeom > ConstSPtr