Ray (Dataset)
Create a ray dataset.
Syntax
model.result().dataset().create(<dtag>,"Ray");
model.result().dataset(<dtag>).set(property, <value>);
Description
model.result().dataset().create(<dtag>,"Ray") creates a ray dataset.
A ray dataset is required to plot ray trajectories. The ray dataset identifies the geometry in which the ray data is stored and the degrees of freedom which determine the position of each ray.
The following properties are available:
manual | fromphysics
fromphysics if an applicable physics interface is available, otherwise manual
none or the tag of a valid physics interface
none or first applicable physics interface
rgeom, or pgeom_ followed by the tag of a Geometrical Optics or Ray Acoustics interface.
The geometry in which the ray degrees of freedom are defined. The correct name of this ray geometry is pgeom_<name>, where <name> is the name for the Geometrical Optics or Ray Acoustics interface node.