Description Usage Arguments Value Author(s) See Also
Mostly for internal use, this function temporarily installs a handler on a button of the mouse that will return the mouse coordinates of one click and drag rectangle.
1 2 | rgl.select(button = c("left", "middle", "right"),
dev = cur3d(), subscene = currentSubscene3d(dev))
|
button |
Which button to use? |
dev, subscene |
The rgl device and subscene to work with |
A vector of four coordinates: the X and Y coordinates of the start and end of the dragged rectangle.
Duncan Murdoch
rgl.select3d
, a version that allows the selection region to be used to
select points in the scene.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.