Tube geometry that sweeps a circular cross-section along a curved path defined by control points. Used to render electrode shafts and tract trajectories in the three-brain viewer.
Super class
AbstractGeom -> TubeGeom
Public fields
typeGeometry type string (
"tube").radial_segmentsNumber of segments around the tube circumference.
tubular_segmentsNumber of segments along the tube path.
control_dataFlattened numeric vector (row-major) of control points; each row encodes
x,y,z,t(normalized path position 0-1), andradius.image_uriBase64 data URI of the tube texture image, or
NULLfor a plain color.
Methods
TubeGeom$new()
Create a new tube geometry.
Usage
TubeGeom$new(name, control_data, image_uri = NULL, ...)