Create TCL/TK controller for rgl window

Share:

Description

This function creates a TCL/TK window containing buttons to spin and resize one or more rgl windows.

Usage

1
spin3d(dev = rgl.cur(), ...)

Arguments

dev

A vector of one or more rgl device numbers to control

...

Arguments to pass to spinControl

Author(s)

Ming Chen and Duncan Murdoch

See Also

spinControl

Examples

1
2
3
4
5
6
7
8
if (interactive()) {
    open3d()
    rgl.bringtotop(TRUE)
    points3d(rnorm(100), rnorm(100), rnorm(100), size=3)
    axes3d()
    box3d()
    spin3d()
}