MNEVolGeom
Namespace: MNELIB · Library: MNE Library
#include <mne/mne_vol_geom.h>
class MNELIB::MNEVolGeom
Implements the MNE Volume Geometry description (Replaces *mneVolGeom,mneVolGeomRec; struct of MNE-C mne_types.h).
MRI data volume geometry information like FreeSurfer keeps it
Public Methods
MNEVolGeom()
Constructs the MNE Volume Geometry.
~MNEVolGeom()
Destroys the MNE Volume Geometry Refactored: mne_free_vol_geom (mne_mgh_mri_io.c).
Example
No example of its own: FreeSurfer volume geometry header decoded from MGH tags by the surface reader; a field of MNESurfaceOrVolume, not built by callers.
It is exercised by:
src/examples/ex_mne_api/main.cpp
// A FreeSurfer surface with its curvature and the volume geometry from the file footer
const auto white = MNESourceSpace::load_surface(data + "/subjects/sample/surf/lh.white", data + "/subjects/sample/surf/lh.curv");
const MNEVolGeom& geometry = *white->vol_geom; // sizes and centre converted to metres
From ex_mne_api.
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>