SoHalfScreenStereo Class Reference
[Stereo]

VSG extension Class for half-screen stereo support. More...

#include <Inventor/components/stereo/SoHalfScreenStereo.h>

Inheritance diagram for SoHalfScreenStereo:
SoBaseStereo

List of all members.

Public Types

enum  HalfScreenMode {
  OVERUNDER_FILL = 0,
  OVERUNDER,
  SIDEBYSIDE_FILL,
  SIDEBYSIDE
}

Public Member Functions

 SoHalfScreenStereo (SoStereoViewer *stereoVwr=NULL, SoGuiViewer *guiViewer=NULL)
 ~SoHalfScreenStereo ()
void setHalfScreenMode (HalfScreenMode mode)
HalfScreenMode getHalfScreenMode ()
virtual void renderStereoView ()
virtual StereoViewType getStereoViewType ()

Detailed Description

VSG extension Class for half-screen stereo support.

This class implements the half-screen stereo type. The display area is divided into two parts, one for displaying the left eye view and one for displaying the right eye view.

SEE ALSO

SoStereoViewer, SoBaseStereo, SoWinViewer SoXtViewer


Member Enumeration Documentation

Half screen modes.

Enumerator:
OVERUNDER_FILL 

Overunder fill (default value).

OVERUNDER 

Overunder.

SIDEBYSIDE_FILL 

Side by side fill.

SIDEBYSIDE 

Side by side.


Constructor & Destructor Documentation

SoHalfScreenStereo::SoHalfScreenStereo ( SoStereoViewer stereoVwr = NULL,
SoGuiViewer guiViewer = NULL 
)

Constructor.

SoHalfScreenStereo::~SoHalfScreenStereo (  ) 

Destructor.


Member Function Documentation

HalfScreenMode SoHalfScreenStereo::getHalfScreenMode (  ) 

Queries half-screen mode.

virtual StereoViewType SoHalfScreenStereo::getStereoViewType (  )  [virtual]

Always returns SoBaseStereo::HALF_SCREEN_STEREO.

Implements SoBaseStereo.

virtual void SoHalfScreenStereo::renderStereoView (  )  [virtual]

Renders the stereo view.

Reimplemented from SoBaseStereo.

void SoHalfScreenStereo::setHalfScreenMode ( HalfScreenMode  mode  ) 

Sets half-screen mode.

Default is OVERUNDER_FILL.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/