33[[maybe_unused]]
constexpr int X = 0;
34[[maybe_unused]]
constexpr int Y = 1;
35[[maybe_unused]]
constexpr int Z = 2;
66 for (q = 0; q < nneigh; q++)
67 area += s->
tris[neigh[q]].area / 3.0;
76 float cos_theta, size;
78 Eigen::Map<Eigen::Vector3f> ave(
ave_nn);
92 else if (cos_theta > 1.0)
Patch information (cluster of cortex vertices around each decimated source) used by orientation prior...
Triangle descriptor with cached centroid, area and normal vectors.
Single-hemisphere source space (cortical surface or volume grid) loaded from FIFF.
Core MNE data structures (source spaces, source estimates, hemispheres).
void calculate_area(MNESourceSpace *s)
void calculate_normal_stats(MNESourceSpace *s)
Eigen::VectorXi memb_vert
This defines a source space.
std::vector< Eigen::VectorXi > neighbor_tri
Eigen::VectorXi nneighbor_tri
std::vector< MNETriangle > tris