SoInterlacedStereo Class Reference
[Stereo]

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

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

Inheritance diagram for SoInterlacedStereo:
SoBaseStereo

List of all members.

Public Types

enum  InterlacedMode {
  HORIZONTAL = 0,
  VERTICAL
}

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.

SEE ALSO

SoStereoViewer, SoBaseStereo, SoWinViewer


Member Enumeration Documentation

Interlaced modes.

Enumerator:
HORIZONTAL 

Horizontal (default).

VERTICAL 

Vertical.


Constructor & Destructor Documentation

SoInterlacedStereo::SoInterlacedStereo ( SoStereoViewer stereoVwr = NULL  ) 

Constructor.

SoInterlacedStereo::~SoInterlacedStereo (  ) 

Destructor.


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