vr.utils.stereo3d class
Superclasses:
Stereoscopic vision settings for vr.canvas
and vr.figure
objects
Description
Tip
Use the vr.utils.stereo3d
class for advanced
tuning of stereoscopic viewer and canvas properties. You can select
and use basic stereoscopic settings from the Viewer menu.
Specifies these stereoscopic vision properties:
Active, anaglyph, or no stereoscopic vision
Camera offset
Camera angle
Color filter for the left and right cameras
Horizontal image translation (HIT)
Use a vr.utils.stereo3d
object to set the Stereo3D
, Stereo3DCameraOffset
,
and Stereo3DHIT
stereoscopic vision properties
of vrfigure
and vr.canvas
objects.
Specifying a vr.utils.stereo3d
object to set one vrfigure
and vr.canvas
property
also sets the other stereoscopic vision properties. Using a vr.utils.stereo3d
object
also specifies color filters for the left and right cameras. You cannot
set camera color filters directly using the vrfigure/set
method
or vr.canvas
properties.
Construction
disables stereoscopic vision.stereoVision
=
vr.utils.stereo3d.OFF
enables active stereoscopic vision.stereoVision
=
vr.utils.stereo3d.ACTIVE
enables red-cyan anaglyph stereoscopic
vision.stereoVision
=
vr.utils.stereo3d.ANAGLYPH
enables red-cyan anaglyph stereoscopic
vision.stereoVision
=
vr.utils.stereo3d.RED_CYAN
enables green-magenta
anaglyph stereoscopic vision.stereoVision
=
vr.utils.stereo3d.ANAGLYPH_GREEN_MAGENTA
enables red-green
anaglyph stereoscopic vision.stereoVision
=
vr.utils.stereo3d.ANAGLYPH_RED_GREEN
enables red-blue anaglyph
stereoscopic vision.stereoVision
=
vr.utils.stereo3d.ANAGLYPH_RED_BLUE
enables yellow-blue
anaglyph stereoscopic vision.stereoVision
=
vr.utils.stereo3d.ANAGLYPH_YELLOW_BLUE
Output Arguments
Properties
Examples
Version History
Introduced in R2015a