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)
 ~SoHalfScreenStereo ()
virtual void reverseStereoView (SbBool reverse)
virtual SbBool isStereoViewReversed ()
void setHalfScreenMode (HalfScreenMode mode)
HalfScreenMode getHalfScreenMode ()
virtual void renderStereoView ()
virtual StereoViewType getStereoViewType ()
virtual SbBool canClearBeforeRender ()
virtual SbBool requireHardware ()
virtual void clearStereo ()
void doLeftEyeSettings ()
void doRightEyeSettings ()
void doMonoscopicSettings ()

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  ) 

Constructor.

SoHalfScreenStereo::~SoHalfScreenStereo (  ) 

Destructor.


Member Function Documentation

virtual SbBool SoHalfScreenStereo::canClearBeforeRender (  )  [virtual]

Queries ability to clear before rendering.

Implements SoBaseStereo.

virtual void SoHalfScreenStereo::clearStereo (  )  [virtual]

Clears stereo.

Reimplemented from SoBaseStereo.

void SoHalfScreenStereo::doLeftEyeSettings (  )  [virtual]

Implements SoBaseStereo.

void SoHalfScreenStereo::doMonoscopicSettings (  )  [virtual]

Implements SoBaseStereo.

void SoHalfScreenStereo::doRightEyeSettings (  )  [virtual]

Implements SoBaseStereo.

HalfScreenMode SoHalfScreenStereo::getHalfScreenMode (  ) 

Queries half-screen mode.

virtual StereoViewType SoHalfScreenStereo::getStereoViewType (  )  [virtual]

Always returns SoBaseStereo::HALF_SCREEN_STEREO.

Implements SoBaseStereo.

virtual SbBool SoHalfScreenStereo::isStereoViewReversed (  )  [virtual]

Queries stereo reversal.

Implements SoBaseStereo.

virtual void SoHalfScreenStereo::renderStereoView (  )  [virtual]

Renders the stereo view.

Implements SoBaseStereo.

virtual SbBool SoHalfScreenStereo::requireHardware (  )  [virtual]

Always returns FALSE.

Implements SoBaseStereo.

virtual void SoHalfScreenStereo::reverseStereoView ( SbBool  reverse  )  [virtual]

Sets stereo reversal.

Implements 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 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/