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

Projects 3-D points onto a triangulated surface mesh and returns nearest vertices and distances. More...

#include <mne_project_to_surface.h>

Public Types

typedef QSharedPointer< MNEProjectToSurfaceSPtr
typedef QSharedPointer< const MNEProjectToSurfaceConstSPtr

Public Member Functions

 MNEProjectToSurface ()
 MNEProjectToSurface (const MNELIB::MNEBemSurface &p_MNEBemSurf)
 MNEProjectToSurface.
bool find_closest_on_surface (const Eigen::MatrixXf &r, const int np, Eigen::MatrixXf &rTri, Eigen::VectorXi &nearest, Eigen::VectorXf &dist)
 find_closest_on_surface

Detailed Description

Projects 3-D points onto a triangulated surface mesh and returns nearest vertices and distances.

Description of what this class is intended to do (in detail).

Definition at line 82 of file mne_project_to_surface.h.

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for MNEProjectToSurface.

Definition at line 87 of file mne_project_to_surface.h.

◆ SPtr

Shared pointer type for MNEProjectToSurface.

Definition at line 86 of file mne_project_to_surface.h.

Constructor & Destructor Documentation

◆ MNEProjectToSurface() [1/2]

MNEProjectToSurface::MNEProjectToSurface ( )

Constructs a MNEProjectToSurface object.

Definition at line 73 of file mne_project_to_surface.cpp.

◆ MNEProjectToSurface() [2/2]

MNEProjectToSurface::MNEProjectToSurface ( const MNELIB::MNEBemSurface & p_MNEBemSurf)

MNEProjectToSurface.

Constructs a MNEProjectToSurface with the data of a MNEBemSurface object.

Parameters
[in]p_MNEBemSurfThe MNEBemSurface to which is to be projected.

Definition at line 87 of file mne_project_to_surface.cpp.

Member Function Documentation

◆ find_closest_on_surface()

bool MNEProjectToSurface::find_closest_on_surface ( const Eigen::MatrixXf & r,
const int np,
Eigen::MatrixXf & rTri,
Eigen::VectorXi & nearest,
Eigen::VectorXf & dist )

find_closest_on_surface

Projects a set of points r on the Surface

Parameters
[in]rSet of pionts, which are to be projectied.
[in]npnumber of points.
[out]rTriset of points on the surface.
[out]nearestTriangle of the new point.
[out]distDistance between r and rTri.
Returns
true if succeeded, false otherwise.

Definition at line 123 of file mne_project_to_surface.cpp.


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