vis.path.along.verts: Draw a 3D line from vertex to vertex

Description Usage Arguments See Also

View source: R/helpers.R

Description

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.

Usage

1
vis.path.along.verts(surface_vertices, path_vertex_indices)

Arguments

surface_vertices

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".

path_vertex_indices

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.)

See Also

Other surface mesh functions: face.edges(), label.border(), mesh.vertex.included.faces(), mesh.vertex.neighbors(), subject.surface()


neuroconductor/fsbrain documentation built on Sept. 16, 2020, 2:30 p.m.