MNE-CPP  beta 1.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
MNELIB::MNESurface Class Reference

BEM Surface. More...

#include <mne_surface.h>

Public Types

typedef QSharedPointer< MNESurfaceSPtr
 
typedef QSharedPointer< const MNESurfaceConstSPtr
 
typedef Eigen::Matrix3Xf PointsT
 
typedef Eigen::Matrix3Xf NormalsT
 
typedef Eigen::Matrix3Xi TrianglesT
 

Public Member Functions

 MNESurface ()
 
 ~MNESurface ()
 

Static Public Member Functions

static bool read (QIODevice &p_IODevice, QList< MNESurface::SPtr > &surfaces)
 
static bool read (FIFFLIB::FiffStream::SPtr &p_pStream, bool add_geom, FIFFLIB::FiffDirTree &p_Tree, QList< MNESurface::SPtr > &surfaces)
 

Public Attributes

FIFFLIB::fiff_int_t id
 
FIFFLIB::fiff_float_t sigma
 
FIFFLIB::fiff_int_t np
 
FIFFLIB::fiff_int_t ntri
 
FIFFLIB::fiff_int_t coord_frame
 
PointsT rr
 
NormalsT nn
 
TrianglesT tris
 

Detailed Description

BEM Surface.

BEM Surface

Definition at line 91 of file mne_surface.h.

Member Typedef Documentation

typedef QSharedPointer<const MNESurface> MNELIB::MNESurface::ConstSPtr

Const shared pointer type for MNESurface.

Definition at line 95 of file mne_surface.h.

typedef Eigen::Matrix3Xf MNELIB::MNESurface::NormalsT

Type abbreviation for normals.

Definition at line 98 of file mne_surface.h.

typedef Eigen::Matrix3Xf MNELIB::MNESurface::PointsT

Type abbreviation for points.

Definition at line 97 of file mne_surface.h.

typedef QSharedPointer<MNESurface> MNELIB::MNESurface::SPtr

Shared pointer type for MNESurface.

Definition at line 94 of file mne_surface.h.

typedef Eigen::Matrix3Xi MNELIB::MNESurface::TrianglesT

Type abbreviation for triangles.

Definition at line 99 of file mne_surface.h.

Constructor & Destructor Documentation

MNESurface::MNESurface ( )

Default constructor

Definition at line 62 of file mne_surface.cpp.

MNELIB::MNESurface::~MNESurface ( )
inline

Default destructor

Definition at line 110 of file mne_surface.h.

Member Function Documentation

bool MNESurface::read ( QIODevice &  p_IODevice,
QList< MNESurface::SPtr > &  surfaces 
)
static

Reads a bem surface from a fif IO device

Parameters
[in]p_IODeviceA fiff IO device like a fiff QFile or QTCPSocket
[out]surfacesList to fill with found surfaces
Returns
true if succeeded, false otherwise

Definition at line 73 of file mne_surface.cpp.

bool MNESurface::read ( FIFFLIB::FiffStream::SPtr p_pStream,
bool  add_geom,
FIFFLIB::FiffDirTree p_Tree,
QList< MNESurface::SPtr > &  surfaces 
)
static

MNE toolbox root function ###: Implementation of the mne_read_bem_surfaces function

Reads a BEM surface from a fif stream

Parameters
[in]p_pStreamThe open fiff file
[in]add_geomAdd geometry information to the source spaces
[in]p_TreeSearch for the surfaces here
[out]p_SurfacesThe read bem surfaces
Returns
true if succeeded, false otherwise

Definition at line 90 of file mne_surface.cpp.

Member Data Documentation

FIFFLIB::fiff_int_t MNELIB::MNESurface::coord_frame

The coordinate frame of the mode

Definition at line 148 of file mne_surface.h.

FIFFLIB::fiff_int_t MNELIB::MNESurface::id

Surface number

Definition at line 144 of file mne_surface.h.

NormalsT MNELIB::MNESurface::nn

Normals for each node

Definition at line 150 of file mne_surface.h.

FIFFLIB::fiff_int_t MNELIB::MNESurface::np

Number of nodes

Definition at line 146 of file mne_surface.h.

FIFFLIB::fiff_int_t MNELIB::MNESurface::ntri

Number of triangles

Definition at line 147 of file mne_surface.h.

PointsT MNELIB::MNESurface::rr

Points for each node

Definition at line 149 of file mne_surface.h.

FIFFLIB::fiff_float_t MNELIB::MNESurface::sigma

Conductivity of a compartment

Definition at line 145 of file mne_surface.h.

TrianglesT MNELIB::MNESurface::tris

Triangulation information

Definition at line 151 of file mne_surface.h.


The documentation for this class was generated from the following files: