MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
MNELIB::MNEBemSurface Class Reference

BEM surface provides geometry information. More...

#include <mne_bem_surface.h>

Public Types

typedef QSharedPointer< MNEBemSurfaceSPtr
typedef QSharedPointer< const MNEBemSurfaceConstSPtr

Public Member Functions

 MNEBemSurface ()
 MNEBemSurface (const MNEBemSurface &p_MNEBemSurface)
 ~MNEBemSurface ()
void clear ()
bool addTriangleData ()
bool add_geometry_info ()
bool addVertexNormals ()
void writeToStream (FIFFLIB::FiffStream *p_pStream)

Static Public Member Functions

static QString id_name (int id)

Public Attributes

FIFFLIB::fiff_int_t id
FIFFLIB::fiff_int_t np
FIFFLIB::fiff_int_t ntri
FIFFLIB::fiff_int_t coord_frame
FIFFLIB::fiff_float_t sigma
Eigen::MatrixX3f rr
Eigen::MatrixX3f nn
Eigen::MatrixX3i tris
Eigen::MatrixX3d tri_cent
Eigen::MatrixX3d tri_nn
Eigen::VectorXd tri_area
QVector< QVector< int > > neighbor_tri
QVector< QVector< int > > neighbor_vert

Detailed Description

BEM surface provides geometry information.

BEM surface geometry information

Definition at line 79 of file mne_bem_surface.h.

Member Typedef Documentation

◆ ConstSPtr

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

Const shared pointer type for MNEBemSurface.

Definition at line 83 of file mne_bem_surface.h.

◆ SPtr

typedef QSharedPointer<MNEBemSurface> MNELIB::MNEBemSurface::SPtr

Shared pointer type for MNEBemSurface.

Definition at line 82 of file mne_bem_surface.h.

Constructor & Destructor Documentation

◆ MNEBemSurface() [1/2]

MNEBemSurface::MNEBemSurface ( )

Constructors the bem surface.

Definition at line 56 of file mne_bem_surface.cpp.

◆ MNEBemSurface() [2/2]

MNEBemSurface::MNEBemSurface ( const MNEBemSurface p_MNEBemSurface)

Copy constructor.

[in]p_MNEBemSurfaceBEM surface which should be copied.

Definition at line 73 of file mne_bem_surface.cpp.

◆ ~MNEBemSurface()

MNEBemSurface::~MNEBemSurface ( )

Destroys the BEM surface.

Definition at line 93 of file mne_bem_surface.cpp.

Member Function Documentation

◆ add_geometry_info()

bool MNEBemSurface::add_geometry_info ( )

Add vertex normals and neighbourhood information

true if succeeded, false otherwise.

Definition at line 179 of file mne_bem_surface.cpp.

◆ addTriangleData()

bool MNEBemSurface::addTriangleData ( )

Definition of the mne_add_triangle_data function in mne_add_geometry_info.c

Completes triangulation info

true if succeeded, false otherwise.

Definition at line 116 of file mne_bem_surface.cpp.

◆ addVertexNormals()

bool MNEBemSurface::addVertexNormals ( )

Definition of the addVertexNormals function in mne_add_geometry_info.c

Completes triangulation info

true if succeeded, false otherwise.

Definition at line 226 of file mne_bem_surface.cpp.

◆ clear()

void MNEBemSurface::clear ( )

Initializes the BEM surface.

Definition at line 99 of file mne_bem_surface.cpp.

◆ id_name()

QString MNEBemSurface::id_name ( int  id)

Map bem id integers to human-readable names

[in]frameThe bem id integer.
Human readable form of the bem id.

Definition at line 279 of file mne_bem_surface.cpp.

◆ writeToStream()

void MNEBemSurface::writeToStream ( FIFFLIB::FiffStream p_pStream)

Writes the bem surface to a FIFF stream

[in]p_pStreamThe stream to write to.

Definition at line 261 of file mne_bem_surface.cpp.

Member Data Documentation

◆ coord_frame

FIFFLIB::fiff_int_t MNELIB::MNEBemSurface::coord_frame

Coil coordinate system definition.

Definition at line 161 of file mne_bem_surface.h.

◆ id

FIFFLIB::fiff_int_t MNELIB::MNEBemSurface::id

Id information.

Definition at line 158 of file mne_bem_surface.h.

◆ neighbor_tri

QVector<QVector<int> > MNELIB::MNEBemSurface::neighbor_tri

Vector of neighboring triangles for each vertex.

Definition at line 169 of file mne_bem_surface.h.

◆ neighbor_vert

QVector<QVector<int> > MNELIB::MNEBemSurface::neighbor_vert

Vector of neighboring vertices for each vertex.

Definition at line 170 of file mne_bem_surface.h.

◆ nn

Eigen::MatrixX3f MNELIB::MNEBemSurface::nn

Source normals of available dipoles.

Definition at line 164 of file mne_bem_surface.h.

◆ np

FIFFLIB::fiff_int_t MNELIB::MNEBemSurface::np

Number of vertices of the whole/original surface used to create the source locations.

Definition at line 159 of file mne_bem_surface.h.

◆ ntri

FIFFLIB::fiff_int_t MNELIB::MNEBemSurface::ntri

Number of available triangles.

Definition at line 160 of file mne_bem_surface.h.

◆ rr

Eigen::MatrixX3f MNELIB::MNEBemSurface::rr

Source locations of available dipoles.

Definition at line 163 of file mne_bem_surface.h.

◆ sigma

FIFFLIB::fiff_float_t MNELIB::MNEBemSurface::sigma

Conductivity of a compartment.

Definition at line 162 of file mne_bem_surface.h.

◆ tri_area

Eigen::VectorXd MNELIB::MNEBemSurface::tri_area

Triangle areas.

Definition at line 168 of file mne_bem_surface.h.

◆ tri_cent

Eigen::MatrixX3d MNELIB::MNEBemSurface::tri_cent

Triangle centers.

Definition at line 166 of file mne_bem_surface.h.

◆ tri_nn

Eigen::MatrixX3d MNELIB::MNEBemSurface::tri_nn

Triangle normals.

Definition at line 167 of file mne_bem_surface.h.

◆ tris

Eigen::MatrixX3i MNELIB::MNEBemSurface::tris


Definition at line 165 of file mne_bem_surface.h.

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