To get a nice path along the surface, pass the vertex indices along a geodesic path. Note: You can first open an interactive brain view (`view='si'`) with a vis* function like vis.subject.morph.native
, then run this function to draw into the active plot.
vis.path.along.verts(surface_vertices, path_vertex_indices)
float matrix of size (n, 3), the surface vertex coordinates, as returned as part of subject.surface
or read.fs.surface
, in the member "vertices".
vector of vertex indices, the path. You will need to have it computed already. (This function does **not** compute geodesic paths. You can use it to visualize such a path though.)
Other surface mesh functions:
face.edges()
,
label.border()
,
mesh.vertex.included.faces()
,
mesh.vertex.neighbors()
,
subject.surface()