SoInterlacedStereo Class Reference

VSG extension Class for interlaced stereo support. More...

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

Inheritance diagram for SoInterlacedStereo:

List of all members.

Public Types

enum  InterlacedMode {

Public Member Functions

 SoInterlacedStereo (SoStereoViewer *stereoVwr=NULL)
 ~SoInterlacedStereo ()
virtual void reverseStereoView (SbBool reverse)
virtual SbBool isStereoViewReversed ()
void setInterlacedMode (InterlacedMode mode)
InterlacedMode getInterlacedMode ()
void setScreenInterlacing (SbBool screen)
SbBool isScreenInterlacing ()
void setFastInterlacing (SbBool fast=TRUE)
SbBool isFastInterlacing ()
virtual void renderStereoView ()
virtual StereoViewType getStereoViewType ()
virtual SbBool canClearBeforeRender ()
virtual SbBool requireHardware ()
virtual void clearStereo ()
virtual void enableGreenShift (SbBool enable)
virtual SbBool isGreenShiftEnabled () const

Detailed Description

VSG extension Class for interlaced stereo support.

This class implements the interlaced stereo type. Using the interlaced mode, the stereo effect is achieved using special devices (projectors,...) that translate an interlaced image into a stereoscopic view. Alternating scan lines display images for the left and right eyes.

The interlaced mode can work in two modes: fast or best. This is simply a matter of quality. Due to the interlacing, lines close to horizontal can appear as dotted lines. In best mode, those parts of the model are drawn as if they were thicker. By default, the mode is fast.


SoStereoViewer, SoBaseStereo, SoWinViewer

Member Enumeration Documentation

Interlaced modes.


Horizontal (default).



Constructor & Destructor Documentation

SoInterlacedStereo::SoInterlacedStereo ( SoStereoViewer stereoVwr = NULL  ) 


SoInterlacedStereo::~SoInterlacedStereo (  ) 


Member Function Documentation

virtual SbBool SoInterlacedStereo::canClearBeforeRender (  )  [inline, virtual]

Queries ability to clear before rendering.

Implements SoBaseStereo.

virtual void SoInterlacedStereo::clearStereo (  )  [virtual]

Clears stereo.

Reimplemented from SoBaseStereo.

virtual void SoInterlacedStereo::enableGreenShift ( SbBool  enable  )  [inline, virtual]

Enable image adjustment specific to Sharp LCD displays.

InterlacedMode SoInterlacedStereo::getInterlacedMode (  )  [inline]

Queries interlaced mode.

virtual StereoViewType SoInterlacedStereo::getStereoViewType (  )  [inline, virtual]

Always returns SoBaseStereo::INTERLACED_STEREO.

Implements SoBaseStereo.

SbBool SoInterlacedStereo::isFastInterlacing (  )  [inline]

Queries fast interlacing mode.

virtual SbBool SoInterlacedStereo::isGreenShiftEnabled (  )  const [inline, virtual]

Query green shift setting.

SbBool SoInterlacedStereo::isScreenInterlacing (  )  [inline]

Queries screen interlacing.

virtual SbBool SoInterlacedStereo::isStereoViewReversed (  )  [virtual]

Queries stereo reversal.

Implements SoBaseStereo.

virtual void SoInterlacedStereo::renderStereoView (  )  [virtual]

Renders the stereo view.

Implements SoBaseStereo.

virtual SbBool SoInterlacedStereo::requireHardware (  )  [inline, virtual]

Always returns FALSE.

(Although special hardware may be required, this flag only indicates if a special graphics board is required. It's not, hence the return value of FALSE.)

Implements SoBaseStereo.

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

Sets stereo reversal.

Implements SoBaseStereo.

void SoInterlacedStereo::setFastInterlacing ( SbBool  fast = TRUE  )  [inline]

Sets fast interlacing mode.

Default is TRUE.

void SoInterlacedStereo::setInterlacedMode ( InterlacedMode  mode  )  [inline]

Sets interlaced mode.

Default is HORIZONTAL.

void SoInterlacedStereo::setScreenInterlacing ( SbBool  screen  )  [inline]

Sets screen interlacing.

If screen is TRUE (default), the line interlacing is done according to the screen (if the window is moving, the first line might be either an even or an odd line). Otherwise, do the interlacing according to the window itself (first line is always even).

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

Open Inventor Toolkit reference manual, generated on 1 Nov 2022
Copyright © Thermo Fisher Scientific All rights reserved.