vol_widget_output: Widget output for shiny

View source: R/widget.R

vol_widget_outputR Documentation

Widget output for shiny

Description

Places the viewer in a shiny user interface.

Usage

vol_widget_output(outputId, width = "100%", height = "600px")

Arguments

outputId

Output identifier.

width, height

Size of the element.

Details

Widget output for shiny

The identifier is also the prefix of the inputs the widget writes back, so an application that names its output volume observes input$volume_ready and input$volume_camera.

Value

A shiny output element.

See Also

render_vol_widget() for the server half, vol_widget() for the widget itself, vol_snapshot() to save a PNG, shinyVolumr() for a complete application.

Examples

if (requireNamespace("shiny", quietly = TRUE))
  vol_widget_output("volume", height = "700px")

volumr documentation built on Dec. 2, 2026, 5:07 p.m.