Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoInterlacedStereoParameters Class Reference

The SoInterlacedStereoParameters class is used to specify the behavior of the interlaced stereo. More...

#include <Inventor/ViewerComponents/SoInterlacedStereoParameters.h>

+ Inheritance diagram for SoInterlacedStereoParameters:

Public Types

enum  InterlacedMode {
  HORIZONTAL = 0 ,
  VERTICAL
}
 Interlaced modes. More...
 

Public Member Functions

 SoInterlacedStereoParameters ()
 
bool isReverseInterlacing () const
 
void setReverseInterlacing (bool reversed)
 
bool getQualityRendering () const
 
void setQualityRendering (bool qualityRendering)
 
bool getGreenShift () const
 
void setGreenShift (bool greenShift)
 
InterlacedMode getInterlacingMode () const
 
void setInterlacingMode (InterlacedMode mode)
 
- Public Member Functions inherited from SoStereoParameters
virtual ~SoStereoParameters ()
 Default destructor.
 
void setReversedView (bool reversed)
 Sets stereo reversal.
 
bool isReversedView () const
 Queries stereo reversal.
 

Detailed Description

The SoInterlacedStereoParameters class is used to specify the behavior of the interlaced stereo.

The interlacing can be either vertical or horizontal, as defined by the InterlacingMode.

Some SHARP screens require that the green component be written one pixel to the right, which is supported through the greenShift method.

Reverse interlacing is there to allow for screen-aligned interlacing. It is up to the user of the parameters to set the reverse interlacing when the window coordinates are not aligned with the screen coordinates. Screen interlacing changes the way odd and even lines are computed. By default the left eye is rendered on even lines and the right eye on odd lines. In screen interlacing even is computed from the position of the pixel on the screen, in non-screen interlacing it is relative to the rendering window.

The interlaced mode can work in two modes: fast or best. This is simply a matter of quality, and rendering time is not impacted. 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.

Definition at line 33 of file SoInterlacedStereoParameters.h.

Member Enumeration Documentation

◆ InterlacedMode

Interlaced modes.

Enumerator
HORIZONTAL 

Horizontal (default)

VERTICAL 

Vertical.

Definition at line 37 of file SoInterlacedStereoParameters.h.

Constructor & Destructor Documentation

◆ SoInterlacedStereoParameters()

SoInterlacedStereoParameters::SoInterlacedStereoParameters ( )

Member Function Documentation

◆ getGreenShift()

bool SoInterlacedStereoParameters::getGreenShift ( ) const

◆ getInterlacingMode()

InterlacedMode SoInterlacedStereoParameters::getInterlacingMode ( ) const

◆ getQualityRendering()

bool SoInterlacedStereoParameters::getQualityRendering ( ) const

◆ isReverseInterlacing()

bool SoInterlacedStereoParameters::isReverseInterlacing ( ) const

◆ setGreenShift()

void SoInterlacedStereoParameters::setGreenShift ( bool  greenShift)

◆ setInterlacingMode()

void SoInterlacedStereoParameters::setInterlacingMode ( InterlacedMode  mode)

◆ setQualityRendering()

void SoInterlacedStereoParameters::setQualityRendering ( bool  qualityRendering)

◆ setReverseInterlacing()

void SoInterlacedStereoParameters::setReverseInterlacing ( bool  reversed)

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