MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
mne_vol_geom.h
Go to the documentation of this file.
1//=============================================================================================================
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;
82 //=========================================================================================================
86 MneVolGeom();
87
88 //=========================================================================================================
94
95public:
96 int valid; /* Is the information below valid */
97 int width,height,depth; /* Size of the stack */
98 float xsize,ysize,zsize; /* Increments in the three voxel directions */
99 float x_ras[3],y_ras[3],z_ras[3]; /* Directions of the coordinate axes */
100 float c_ras[3]; /* Center of the RAS coordinates */
101 QString filename; /* Name of the MRI data file */
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
#define MNESHARED_EXPORT
Definition mne_global.h:56
MRI data volume geometry information like FreeSurfer keeps it.
QSharedPointer< const MneVolGeom > ConstSPtr
QSharedPointer< MneVolGeom > SPtr