v2.0.0
Loading...
Searching...
No Matches
MNELIB::MNESurfacePatch Class Reference

Cortical surface patch linking a set of vertices to a single source space point. More...

#include <mne_surface_patch.h>

Public Types

typedef QSharedPointer< MNESurfacePatchSPtr
typedef QSharedPointer< const MNESurfacePatchConstSPtr

Public Member Functions

 MNESurfacePatch (int np)
 ~MNESurfacePatch ()

Public Attributes

std::unique_ptr< MNESourceSpaces
Eigen::VectorXi vert
Eigen::VectorXi surf_vert
Eigen::VectorXi tri
Eigen::VectorXi surf_tri
Eigen::VectorXi border
int flat = 0

Detailed Description

Cortical surface patch linking a set of vertices to a single source space point.

Each patch represents a contiguous region of a FreeSurfer cortical surface. It stores the mapping between patch-local and full-surface vertex/triangle indices and marks which vertices lie on the patch border.

Definition at line 84 of file mne_surface_patch.h.

Member Typedef Documentation

◆ ConstSPtr

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

Const shared pointer type for MNESurfacePatch.

Definition at line 88 of file mne_surface_patch.h.

◆ SPtr

Shared pointer type for MNESurfacePatch.

Definition at line 87 of file mne_surface_patch.h.

Constructor & Destructor Documentation

◆ MNESurfacePatch()

MNESurfacePatch::MNESurfacePatch ( int np)

Constructs a patch with np vertices.

Parameters
[in]npNumber of vertices in the patch (0 for an empty patch).

Definition at line 54 of file mne_surface_patch.cpp.

◆ ~MNESurfacePatch()

MNESurfacePatch::~MNESurfacePatch ( )
default

Destroys the MNESurfacePatch.

Member Data Documentation

◆ border

Eigen::VectorXi MNELIB::MNESurfacePatch::border

Per-vertex flag: non-zero if the vertex lies on the patch border (size np).

Definition at line 110 of file mne_surface_patch.h.

◆ flat

int MNELIB::MNESurfacePatch::flat = 0

Non-zero if the patch has been flattened.

Definition at line 111 of file mne_surface_patch.h.

◆ s

std::unique_ptr<MNESourceSpace> MNELIB::MNESurfacePatch::s

Patch represented as a source space surface.

Definition at line 105 of file mne_surface_patch.h.

◆ surf_tri

Eigen::VectorXi MNELIB::MNESurfacePatch::surf_tri

Map from complete-surface triangle index to patch triangle index (-1 if absent).

Definition at line 109 of file mne_surface_patch.h.

◆ surf_vert

Eigen::VectorXi MNELIB::MNESurfacePatch::surf_vert

Map from complete-surface vertex index to patch vertex index (-1 if absent).

Definition at line 107 of file mne_surface_patch.h.

◆ tri

Eigen::VectorXi MNELIB::MNESurfacePatch::tri

Map from patch triangle index to complete-surface triangle index.

Definition at line 108 of file mne_surface_patch.h.

◆ vert

Eigen::VectorXi MNELIB::MNESurfacePatch::vert

Vertex numbers in the complete surface (size np).

Definition at line 106 of file mne_surface_patch.h.


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