tkspin3d: Create TCL/TK controller for RGL window

View source: R/tkspin3d.R

tkspin3dR Documentation

Create TCL/TK controller for RGL window

Description

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

Usage

tkspin3d(dev = cur3d(), ...)

Arguments

dev

A vector of one or more RGL device numbers to control

...

Named parameters in that match named formal arguments to tkspinControl are passed there, while others are passed to tktoplevel

Author(s)

Ming Chen and Duncan Murdoch

See Also

tkspinControl

Examples

if (interactive() && !in_pkgdown_example()) {
    open3d()
    points3d(rnorm(100), rnorm(100), rnorm(100), size=3)
    axes3d()
    box3d()
    tkspin3d()
}

rgl documentation built on July 9, 2023, 7:36 p.m.