70 typedef std::shared_ptr<MNESurface>
SPtr;
71 typedef std::shared_ptr<const MNESurface>
ConstSPtr;
72 typedef std::unique_ptr<MNESurface>
UPtr;
106 double sum_solids(
const Eigen::Vector3f& from)
const;
118 float& x,
float& y,
float& z)
const;
134 float& x,
float& y,
float& z)
const;
148 float& x,
float& y,
float& z)
const;
178 const Eigen::Vector3f& r,
192 Eigen::VectorXi& nearest_tri,
193 Eigen::VectorXf& distances,
207 const Eigen::Vector3f& r)
const;
234 static std::unique_ptr<MNESurface>
read_bem_surface(
const QString& name,
int which,
246 static std::unique_ptr<MNESurface>
read_bem_surface(
const QString& name,
int which,
247 bool add_geometry,
float&
sigma);
257 static std::unique_ptr<MNESurface>
read_bem_surface2(
const QString& name,
int which,
270 static std::unique_ptr<MNESurface>
read_bem_surface(
const QString& name,
int which,
271 bool add_geometry,
float&
sigma,
272 bool check_too_many_neighbors);
Discriminated geometry container that can represent either a triangulated surface or a discrete/volum...
MNELIB shared-library export/import macros and library build metadata.
Core MNE data structures (source spaces, source estimates, hemispheres).
FIFF tag-stream reader/writer: wraps a QIODevice and exposes typed read_* / write_* methods for every...
Auxiliary projection data computed from MNEProjOp for efficient repeated application.
double sum_solids(const Eigen::Vector3f &from) const
std::unique_ptr< MNESurface > UPtr
Eigen::Vector3f project_to_triangle(int tri, float p, float q) const
static std::unique_ptr< MNESurface > read_bem_surface2(const QString &name, int which, bool add_geometry)
void triangle_coords(const Eigen::Vector3f &r, int tri, float &x, float &y, float &z) const
std::shared_ptr< const MNESurface > ConstSPtr
static std::unique_ptr< MNESurface > read_bem_surface(const QString &name, int which, bool add_geometry)
void find_closest_on_surface_approx(const PointsT &r, int np, Eigen::VectorXi &nearest_tri, Eigen::VectorXf &distances, int nstep) const
int project_to_surface(const MNEProjData *proj_data, const Eigen::Vector3f &r, float &distp) const
std::shared_ptr< MNESurface > SPtr
void decide_search_restriction(MNEProjData &p, int approx_best, int nstep, const Eigen::Vector3f &r) const
void writeToStream(FIFFLIB::FiffStream *p_pStream)
int nearest_triangle_point(const Eigen::Vector3f &r, const MNEProjData *user, int tri, float &x, float &y, float &z) const
void activate_neighbors(int start, Eigen::VectorXi &act, int nstep) const
MNESurfaceOrVolume()
Constructs the MNE FsSurface or Volume.
Eigen::Matrix< float, Eigen::Dynamic, 3, Eigen::RowMajor > PointsT