"surf"
objectRotate a "surf"
. Can be used to adjust the mesh orientation prior
to view_xifti_surface
.
rotate_surf(surf, r1 = 0, r2 = 0, r3 = 0, units = c("radians", "degrees"))
The "surf"
object: see is.surf
.
Angle to rotate along the first, second, and third column's
axis, in units
(e.g. changing r1
will change the vertex positions
in the second and third dimensions/columns, since the mesh is being rotated
with respect to the first column's axis). Default: 0
.
With view_xifti_surface
and other mesh rendering functions that
use rgl
, these rotations seem to correspond to yaw, pitch, and
roll, respectively.
"radians"
(default) or "degrees"
.
The rotated "surf"
Other functions for working with GIFTI surface geometry data:
is.surf()
,
read_surf()
,
resample_surf()
,
view_surf()
,
write_surf_gifti()