Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tkspin3d

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

Examples

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

rgl

3D Visualization Using OpenGL

v0.106.8
GPL
Authors
Duncan Murdoch [aut, cre], Daniel Adler [aut], Oleg Nenadic [ctb], Simon Urbanek [ctb], Ming Chen [ctb], Albrecht Gebhardt [ctb], Ben Bolker [ctb], Gabor Csardi [ctb], Adam Strzelecki [ctb], Alexander Senger [ctb], The R Core Team [ctb, cph], Dirk Eddelbuettel [ctb], The authors of Shiny [cph], The authors of knitr [cph], Jeroen Ooms [ctb], Yohann Demont [ctb], Joshua Ulrich [ctb], Xavier Fernandez i Marin [ctb], George Helffrich [ctb], Ivan Krylov [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.