User`s guide

10 Functions — Alphabetical List
10-36
capture
Class: vrfigure
Capture virtual reality figure image
Syntax
image_capture = capture(figure)
Description
image_capture = capture(figure) captures a virtual reality figure into a
TrueColor RGB image. You can display this image using the image command. You can
then print the figure.
Input Arguments
figure — Virtual reality figure
vrfigure object
Virtual reality figure, specified as a vrfigure object.
Output Arguments
image_capture — Virtual reality figure image
array
Virtual reality figure image, captured as an array. The array is an m-by-n-by-3 data
array that defines red, green, and blue color components for each individual pixel.
Examples
Capture an RGB Image of a Figure
Create and open a vrworld object and associate it with the virtual world vrmount.wrl.