MNE-CPP
beta 1.0
|
Hemisphere provides geometry information. More...
#include <mne_hemisphere.h>
Public Types | |
typedef QSharedPointer< MNEHemisphere > | SPtr |
typedef QSharedPointer< const MNEHemisphere > | ConstSPtr |
Public Member Functions | |
MNEHemisphere () | |
MNEHemisphere (const MNEHemisphere &p_MNEHemisphere) | |
~MNEHemisphere () | |
void | clear () |
MatrixXf & | getTriCoords (float p_fScaling=1.0f) |
bool | isClustered () const |
bool | transform_hemisphere_to (fiff_int_t dest, const FiffCoordTrans &p_Trans) |
void | writeToStream (FiffStream *p_pStream) |
Public Attributes | |
fiff_int_t | type |
fiff_int_t | id |
fiff_int_t | np |
fiff_int_t | ntri |
fiff_int_t | coord_frame |
MatrixX3f | rr |
MatrixX3f | nn |
MatrixX3i | tris |
fiff_int_t | nuse |
VectorXi | inuse |
VectorXi | vertno |
qint32 | nuse_tri |
MatrixX3i | use_tris |
VectorXi | nearest |
VectorXd | nearest_dist |
QList< VectorXi > | pinfo |
VectorXi | patch_inds |
float | dist_limit |
SparseMatrix< double > | dist |
MatrixX3d | tri_cent |
MatrixX3d | tri_nn |
VectorXd | tri_area |
MatrixX3d | use_tri_cent |
MatrixX3d | use_tri_nn |
VectorXd | use_tri_area |
QMap< int, QVector< int > > | neighbor_tri |
QMap< int, QVector< int > > | neighbor_vert |
MNEClusterInfo | cluster_info |
Hemisphere provides geometry information.
Hemisphere source space geometry information
Definition at line 103 of file mne_hemisphere.h.
typedef QSharedPointer<const MNEHemisphere> MNELIB::MNEHemisphere::ConstSPtr |
Const shared pointer type for MNEHemisphere.
Definition at line 107 of file mne_hemisphere.h.
typedef QSharedPointer<MNEHemisphere> MNELIB::MNEHemisphere::SPtr |
Shared pointer type for MNEHemisphere.
Definition at line 106 of file mne_hemisphere.h.
MNEHemisphere::MNEHemisphere | ( | ) |
Constructors the hemisphere source space.
Definition at line 58 of file mne_hemisphere.cpp.
MNEHemisphere::MNEHemisphere | ( | const MNEHemisphere & | p_MNEHemisphere | ) |
Copy constructor.
[in] | p_MNEHemisphere | Hemisphere source space which should be copied |
Definition at line 91 of file mne_hemisphere.cpp.
MNEHemisphere::~MNEHemisphere | ( | ) |
Destroys the hemisphere source space.
Definition at line 128 of file mne_hemisphere.cpp.
void MNEHemisphere::clear | ( | ) |
Initializes the hemisphere source space.
Definition at line 136 of file mne_hemisphere.cpp.
MatrixXf & MNEHemisphere::getTriCoords | ( | float | p_fScaling = 1.0f | ) |
Qt 3d geometry information. Data are generated within first call.
[in] | p_fScaling | Scale factor of the returned geometry tri model. |
Definition at line 175 of file mne_hemisphere.cpp.
|
inline |
is hemisphere clustered?
Definition at line 231 of file mne_hemisphere.h.
bool MNEHemisphere::transform_hemisphere_to | ( | fiff_int_t | dest, |
const FiffCoordTrans & | p_Trans | ||
) |
mne_transform_source_space_to
Implementation of the mne_transform_source_space_to for a single hemisphere function Transform source space data to the desired coordinate system.
[in] | dest | The id of the destination coordinate system (FIFFV_COORD_...) |
[in] | p_Trans | The coordinate transformation structure to use |
Definition at line 196 of file mne_hemisphere.cpp.
void MNEHemisphere::writeToStream | ( | FiffStream * | p_pStream | ) |
mne_python _write_one_source_space
Write the hemisphere to a FIF stream
[in] | p_pStream | The stream to write to. |
Definition at line 231 of file mne_hemisphere.cpp.
MNEClusterInfo MNELIB::MNEHemisphere::cluster_info |
Holds the cluster information.
Definition at line 219 of file mne_hemisphere.h.
fiff_int_t MNELIB::MNEHemisphere::coord_frame |
Coil coordinate system definition
Definition at line 194 of file mne_hemisphere.h.
SparseMatrix<double> MNELIB::MNEHemisphere::dist |
ToDo... (using option -cps during mne_setup_source_space)
Definition at line 208 of file mne_hemisphere.h.
float MNELIB::MNEHemisphere::dist_limit |
ToDo... (using option -cps during mne_setup_source_space)
Definition at line 207 of file mne_hemisphere.h.
fiff_int_t MNELIB::MNEHemisphere::id |
Id information
Definition at line 191 of file mne_hemisphere.h.
VectorXi MNELIB::MNEHemisphere::inuse |
Used source points indicated by 1, 0 otherwise
Definition at line 199 of file mne_hemisphere.h.
VectorXi MNELIB::MNEHemisphere::nearest |
All indeces mapped to the indeces of the used vertices (using option -cps during mne_setup_source_space)
Definition at line 203 of file mne_hemisphere.h.
VectorXd MNELIB::MNEHemisphere::nearest_dist |
Distance to the nearest vertices (using option -cps during mne_setup_source_space).
Definition at line 204 of file mne_hemisphere.h.
QMap<int, QVector<int> > MNELIB::MNEHemisphere::neighbor_tri |
Map of neighboring triangles for each vertex
Definition at line 216 of file mne_hemisphere.h.
QMap<int, QVector<int> > MNELIB::MNEHemisphere::neighbor_vert |
Map of neighboring vertices for each vertex
Definition at line 217 of file mne_hemisphere.h.
MatrixX3f MNELIB::MNEHemisphere::nn |
Source normals of available dipoles.
Definition at line 196 of file mne_hemisphere.h.
fiff_int_t MNELIB::MNEHemisphere::np |
Number of vertices of the whole/original surface used to create the source locations.
Definition at line 192 of file mne_hemisphere.h.
fiff_int_t MNELIB::MNEHemisphere::ntri |
Number of available triangles
Definition at line 193 of file mne_hemisphere.h.
fiff_int_t MNELIB::MNEHemisphere::nuse |
Number of used dipoles.
Definition at line 198 of file mne_hemisphere.h.
qint32 MNELIB::MNEHemisphere::nuse_tri |
Number of used triangles.
Definition at line 201 of file mne_hemisphere.h.
VectorXi MNELIB::MNEHemisphere::patch_inds |
List of neighboring vertices in the high resolution triangulation.
Definition at line 206 of file mne_hemisphere.h.
QList<VectorXi> MNELIB::MNEHemisphere::pinfo |
Patch information (using option -cps during mne_setup_source_space)
Definition at line 205 of file mne_hemisphere.h.
MatrixX3f MNELIB::MNEHemisphere::rr |
Source locations of available dipoles.
Definition at line 195 of file mne_hemisphere.h.
VectorXd MNELIB::MNEHemisphere::tri_area |
Triangle areas
Definition at line 211 of file mne_hemisphere.h.
MatrixX3d MNELIB::MNEHemisphere::tri_cent |
Triangle centers
Definition at line 209 of file mne_hemisphere.h.
MatrixX3d MNELIB::MNEHemisphere::tri_nn |
Triangle normals
Definition at line 210 of file mne_hemisphere.h.
MatrixX3i MNELIB::MNEHemisphere::tris |
Triangles
Definition at line 197 of file mne_hemisphere.h.
fiff_int_t MNELIB::MNEHemisphere::type |
Qt 3d geometry information. Data are generated within first call.Type of the source space: 1 = "surf" or 2 = "vol". ToDo not used jet.
Definition at line 190 of file mne_hemisphere.h.
VectorXd MNELIB::MNEHemisphere::use_tri_area |
Triangle areas of used triangles
Definition at line 214 of file mne_hemisphere.h.
MatrixX3d MNELIB::MNEHemisphere::use_tri_cent |
Triangle centers of used triangles
Definition at line 212 of file mne_hemisphere.h.
MatrixX3d MNELIB::MNEHemisphere::use_tri_nn |
Triangle normals of used triangles
Definition at line 213 of file mne_hemisphere.h.
MatrixX3i MNELIB::MNEHemisphere::use_tris |
Triangle information of the used triangles.
Definition at line 202 of file mne_hemisphere.h.
VectorXi MNELIB::MNEHemisphere::vertno |
Zero based (different to MATLAB) indices of the used vertices/If label based clustered gain matrix vertno contains label IDs
Definition at line 200 of file mne_hemisphere.h.