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, SoGuiViewer *guiViewer=NULL) | |
~SoHalfScreenStereo () | |
void | setHalfScreenMode (HalfScreenMode mode) |
HalfScreenMode | getHalfScreenMode () |
virtual void | renderStereoView () |
virtual StereoViewType | getStereoViewType () |
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 , |
|
SoGuiViewer * | guiViewer = NULL | |||
) |
Constructor.
SoHalfScreenStereo::~SoHalfScreenStereo | ( | ) |
Destructor.
HalfScreenMode SoHalfScreenStereo::getHalfScreenMode | ( | ) |
Queries half-screen mode.
virtual StereoViewType SoHalfScreenStereo::getStereoViewType | ( | ) | [virtual] |
Always returns SoBaseStereo::HALF_SCREEN_STEREO.
Implements SoBaseStereo.
virtual void SoHalfScreenStereo::renderStereoView | ( | ) | [virtual] |
Renders the stereo view.
Reimplemented from SoBaseStereo.
void SoHalfScreenStereo::setHalfScreenMode | ( | HalfScreenMode | mode | ) |
Sets half-screen mode.
Default is OVERUNDER_FILL.