Class for half-screen stereo support. More...
#include <Inventor/components/stereo/SoHalfScreenStereo.h>
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 () |
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.
SoStereoViewer, SoBaseStereo, SoWinViewer SoXtViewer
SoHalfScreenStereo::SoHalfScreenStereo | ( | SoStereoViewer * | stereoVwr = NULL |
) |
Constructor.
SoHalfScreenStereo::~SoHalfScreenStereo | ( | ) |
Destructor.
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.