23#ifndef MNELIB_MNEPROJECTTOSURFACE_H
24#define MNELIB_MNEPROJECTTOSURFACE_H
36#include <QSharedPointer>
71 typedef QSharedPointer<MNEProjectToSurface>
SPtr;
72 typedef QSharedPointer<const MNEProjectToSurface>
ConstSPtr;
103 Eigen::VectorXi &nearest, Eigen::VectorXf &dist);
121 bool project_to_surface(
const Eigen::Vector3f &r, Eigen::Vector3f &rTri,
int &bestTri,
float &bestDist);
137 bool nearest_triangle_point(
const Eigen::Vector3f &r,
const int tri,
float &p,
float &q,
float &dist);
152 bool project_to_triangle(Eigen::Vector3f &rTri,
const float p,
const float q,
const int tri);
155 Eigen::MatrixX3f r12;
156 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...