23#ifndef MNELIB_MNEPROJECTTOSURFACE_H
24#define MNELIB_MNEPROJECTTOSURFACE_H
36#include <QSharedPointer>
73 typedef QSharedPointer<MNEProjectToSurface>
SPtr;
74 typedef QSharedPointer<const MNEProjectToSurface>
ConstSPtr;
105 Eigen::VectorXi& nearest, Eigen::VectorXf& dist);
122 bool project_to_surface(
const Eigen::Vector3f& r, Eigen::Vector3f& rTri,
int& bestTri,
float& bestDist);
138 bool nearest_triangle_point(
const Eigen::Vector3f& r,
const int tri,
float& p,
float& q,
float& dist);
153 bool project_to_triangle(Eigen::Vector3f& rTri,
const float p,
const float q,
const int tri);
156 Eigen::MatrixX3f r12;
157 Eigen::MatrixX3f r13;
MNELIB shared-library export/import macros and library build metadata.
Core MNE data structures (source spaces, source estimates, hemispheres).
BEM surface provides geometry information.
QSharedPointer< const MNEProjectToSurface > ConstSPtr
QSharedPointer< MNEProjectToSurface > SPtr
bool find_closest_on_surface(const Eigen::MatrixXf &r, const int np, Eigen::MatrixXf &rTri, Eigen::VectorXi &nearest, Eigen::VectorXf &dist)
Project a set of points onto the surface and return the nearest triangle and signed distance per poin...