Geometry that points at a streamline (tractography) file on disk. The tract
data is never read in R: the file path is registered as cached group data and
the file is loaded and parsed directly by the 3D viewer.
Super class
AbstractGeom -> StreamlineGeom
Public fields
typeGeometry type string (
"streamline").clickableLogical; always
FALSEfor streamline geometry.colorLine color as an upper-case
'#RRGGBB'string.streamline_nameBundle name, using the on-disk spelling.
streamline_groupCircuit group name, using the on-disk spelling.
Active bindings
data_keyKey under which the file descriptor is stored in the owning group. One circuit group holds several bundles, so the key is suffixed with
streamline_name.
Methods
StreamlineGeom$new()
Create a streamline geometry from a file path.
Usage
StreamlineGeom$new(
name,
path,
streamline_name,
streamline_group = "default",
color = "#FF0000",
group = GeomGroup$new(name = "default"),
layer = 7,
...
)Arguments
nameUnique character name of the geometry.
pathPath to the streamline file.
streamline_nameBundle name; used to derive the cached data key.
streamline_groupCircuit group name.
colorLine color; any R color specification.
groupGeomGroupthat owns this geometry.layerCamera layer. Default
7(all cameras)....Additional arguments forwarded to
AbstractGeom.
StreamlineGeom$to_list()
Serialize the streamline geometry to a named list for
'JSON' export, adding color, streamline_name,
streamline_group, and isStreamlineGeom.