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

This is used in the patch definitions. More...

#include <mne_nearest.h>

Public Types

typedef QSharedPointer< MNENearestSPtr
typedef QSharedPointer< const MNENearestConstSPtr

Public Member Functions

 MNENearest ()
 ~MNENearest ()

Public Attributes

int vert
int nearest
float dist
MNEPatchInfopatch

Detailed Description

This is used in the patch definitions.

Implements the MNE Nearest description (Replaces *mneNearest,mneNearestRec; struct of MNE-C mne_types.h).

Definition at line 77 of file mne_nearest.h.

Member Typedef Documentation

◆ ConstSPtr

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

Const shared pointer type for MNENearest.

Definition at line 81 of file mne_nearest.h.

◆ SPtr

typedef QSharedPointer<MNENearest> MNELIB::MNENearest::SPtr

Shared pointer type for MNENearest.

Definition at line 80 of file mne_nearest.h.

Constructor & Destructor Documentation

◆ MNENearest()

MNENearest::MNENearest ( )

Constructs the MNE Nearest

Definition at line 55 of file mne_nearest.cpp.

◆ ~MNENearest()

MNENearest::~MNENearest ( )

Destroys the MNE Nearest Refactored: (.c)

Definition at line 61 of file mne_nearest.cpp.

Member Data Documentation

◆ dist

float MNELIB::MNENearest::dist

Distance to the nearest 'inuse' vertex (meters).

Definition at line 99 of file mne_nearest.h.

◆ nearest

int MNELIB::MNENearest::nearest

Index of the nearest 'inuse' vertex.

Definition at line 98 of file mne_nearest.h.

◆ patch

MNEPatchInfo* MNELIB::MNENearest::patch

Non-owning pointer to the patch this vertex belongs to. Owned by MNESourceSpace::patches (unique_ptr). Multiple MNENearest objects share the same MNEPatchInfo.

Definition at line 100 of file mne_nearest.h.

◆ vert

int MNELIB::MNENearest::vert

Vertex index in the full surface mesh.

Definition at line 97 of file mne_nearest.h.


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