vr.utils.stereo3d Class
Superclasses:
(To be removed) Stereoscopic vision settings for
vr.canvas
and vr.figure
objects
vr.utils.stereo3d
will be removed in a future release. For
more information, see Version History.
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