Check if a Reference is Set
Usage
cuvis_has_reference(
ctx,
type = c("dark", "white", "white_dark", "sprad", "distance")
)Examples
# Runs only where the proprietary Cubert CUVIS SDK and its sample data
# are installed; elsewhere cuvis_available() is FALSE and nothing happens.
if (cuvis_available() && !is.null(cuvis_sample_data("test_mesu.cu3s"))) {
cuvis_init()
session <- cuvis_session(cuvis_sample_data("test_mesu.cu3s"))
ctx <- cuvis_processing_context(session)
cuvis_has_reference(ctx, "dark")
cuvis_has_reference(ctx, "white")
}