MNE-CPP
0.1.9
A Framework for Electrophysiology
|
BEM descritpion. More...
#include <mne_bem.h>
Public Types | |
typedef QSharedPointer< MNEBem > | SPtr |
typedef QSharedPointer< const MNEBem > | ConstSPtr |
Public Member Functions | |
MNEBem () | |
MNEBem (const MNEBem &p_MNEBem) | |
MNEBem (QIODevice &p_IODevice) | |
~MNEBem () | |
void | clear () |
bool | isEmpty () const |
qint32 | size () const |
void | write (QIODevice &p_IODevice) |
void | writeToStream (FIFFLIB::FiffStream *p_pStream) |
const MNEBemSurface & | operator[] (qint32 idx) const |
MNEBemSurface & | operator[] (qint32 idx) |
MNEBem & | operator<< (const MNEBemSurface &surf) |
MNEBem & | operator<< (const MNEBemSurface *surf) |
void | warp (const Eigen::MatrixXf &sLm, const Eigen::MatrixXf &dLm) |
void | transform (const FIFFLIB::FiffCoordTrans &trans) |
void | invtransform (const FIFFLIB::FiffCoordTrans &trans) |
Static Public Member Functions | |
static bool | readFromStream (FIFFLIB::FiffStream::SPtr &p_pStream, bool add_geom, MNEBem &p_Bem) |
Static Protected Member Functions | |
static bool | readBemSurface (FIFFLIB::FiffStream::SPtr &p_pStream, const FIFFLIB::FiffDirNode::SPtr &p_Tree, MNEBemSurface &p_BemSurface) |
typedef QSharedPointer<const MNEBem> MNELIB::MNEBem::ConstSPtr |
typedef QSharedPointer<MNEBem> MNELIB::MNEBem::SPtr |
MNEBem::MNEBem | ( | ) |
Default constructor
Definition at line 70 of file mne_bem.cpp.
MNEBem::MNEBem | ( | const MNEBem & | p_MNEBem | ) |
MNEBem::MNEBem | ( | QIODevice & | p_IODevice | ) |
Default constructor
Definition at line 83 of file mne_bem.cpp.
MNEBem::~MNEBem | ( | ) |
Destroys the MNE Bem
Definition at line 101 of file mne_bem.cpp.
void MNEBem::clear | ( | ) |
Initializes MNE Bem
Definition at line 107 of file mne_bem.cpp.
void MNEBem::invtransform | ( | const FIFFLIB::FiffCoordTrans & | trans | ) |
Transform the Bem using the inverse
[in] | trans | The Transformation Matrix. |
Definition at line 467 of file mne_bem.cpp.
|
inline |
MNEBem & MNEBem::operator<< | ( | const MNEBemSurface & | surf | ) |
Subscript operator << to add a new bem_surface
[in] | surf | BemSurface to be added. |
Definition at line 417 of file mne_bem.cpp.
MNEBem & MNEBem::operator<< | ( | const MNEBemSurface * | surf | ) |
Subscript operator << to add a new bem_surface
[in] | surf | BemSurface to be added. |
Definition at line 425 of file mne_bem.cpp.
MNEBemSurface & MNEBem::operator[] | ( | qint32 | idx | ) |
Subscript operator [] to access bem_surface by index
[in] | idx | the surface index (0,1 or 2). |
Definition at line 405 of file mne_bem.cpp.
const MNEBemSurface & MNEBem::operator[] | ( | qint32 | idx | ) | const |
Subscript operator [] to access bem_surface by index
[in] | idx | the surface index (0,1 or 2). |
Definition at line 393 of file mne_bem.cpp.
|
staticprotected |
Definition of the read_bem_surface function in e.g. mne_read_bem_surface.m Reads a single bem surface
[in] | p_pStream | The opened fif file. |
[in] | p_Tree | Search for the bem surface here. |
[in,out] | p_BemSurface | The read BemSurface. |
Definition at line 190 of file mne_bem.cpp.
|
static |
Reads Bem surface from a fif file
[in,out] | p_pStream | The opened fif file. |
[in] | add_geom | Add geometry information to the Bem Surface. |
Definition at line 114 of file mne_bem.cpp.
|
inline |
void MNEBem::transform | ( | const FIFFLIB::FiffCoordTrans & | trans | ) |
Transform the Bem
[in] | trans | The Transformation Matrix. |
Definition at line 453 of file mne_bem.cpp.
void MNEBem::warp | ( | const Eigen::MatrixXf & | sLm, |
const Eigen::MatrixXf & | dLm | ||
) |
Warp the Bem
[in] | sLm | 3D Landmarks of the source geometry. |
[in] | dLm | 3D Landmarks of the destination geometry. |
Definition at line 433 of file mne_bem.cpp.
void MNEBem::write | ( | QIODevice & | p_IODevice | ) |
MNE Toolbox function mne_write_bem_surfaces_block
Write the Bem to a FIF file
[in] | p_IODevice | IO device to write the bem to. |
Definition at line 361 of file mne_bem.cpp.
void MNEBem::writeToStream | ( | FIFFLIB::FiffStream * | p_pStream | ) |
MNE Toolbox function mne_write_bem_surfaces_block
Write the Bem to a FIF stream
[in] | p_pStream | The stream to write to. |
Definition at line 376 of file mne_bem.cpp.