[智能汽车Next桌面3D主题]mfrow3d:Setupmultiplefigurelayoutsinrgl.inrgl:3DVisualizationUsingOpenGL
In rgl: 3D Visualization Using OpenGL
The and functions provide functionality in
similar to and in classic R graphics.
rgl can maintain a list of subscenes; the and functions create that list.
When the list is in place, causes rgl to move to the next scene in the list, or cycle
back to the first one.
Unlike the classic R graphics versions of these functions, these functions are completely compatible with
each other. You can mix them within a single rgl window.
In the default case where is missing, and will
call at the start.
By default checks
whether the current subscene is in the current subscene list; if so, it will delete
all subscenes in the list, and call to delete any objects that are no
longer shown. The subscene list will be set to a previous value if one was recorded,
or if not.
If is specified in or
(even as ), the new subscenes will be created within
the parent.
The function first finds out if the current
subscene is in the current list. If not, it moves to the
previous list, and looks there. Once it finds a list
containing the current subscene, it moves to the next entry
in that list. If it cant find one, it creates a length
one list containing just the current subscene.
and return a vector of subscene id values that have just been
created. If a previous subscene list was in effect and was not automatically cleared,
it is attached as an attribute .
Duncan Murdoch
, , .
rgl documentation built on Feb. 1, 2021, 3:01 a.m.