Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoRawStereo Class Reference

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

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

+ Inheritance diagram for SoRawStereo:

Public Member Functions

 SoRawStereo (SoStereoViewer *stereoVwr=NULL, SoGuiViewer *guiViewer=NULL)
 Constructor.
 
 ~SoRawStereo ()
 Destructor.
 
virtual StereoViewType getStereoViewType ()
 Always returns SoBaseStereo::RAW_STEREO.
 
virtual SbBool requireHardware ()
 Always returns TRUE.
 
- Public Member Functions inherited from SoBaseStereo
 SoBaseStereo (SoStereoViewer *stereoViewer=NULL, SoGuiViewer *guiViewer=NULL)
 Constructor.
 
virtual ~SoBaseStereo ()
 Destructor.
 
void setStereoViewer (SoStereoViewer *viewer=NULL)
 Sets the stereo viewer.
 
SoStereoViewergetStereoViewer ()
 Queries the stereo viewer.
 
virtual void reverseStereoView (SbBool reverse)
 Sets stereo reversal.
 
virtual SbBool isStereoViewReversed () const
 Queries stereo reversal.
 
virtual void renderStereoView ()
 Renders the stereo view.
 
virtual SbBool canClearBeforeRender () const
 Queries ability to clear before rendering.
 
virtual void clearStereo ()
 A stereo view type may need to restore a state when it is no longer used by a stereo viewer.
 
void setStereoElement (SoSceneManager *, SoCamera::StereoMode stereoMode)
 Apply stereo parameters to the passed SoSceneManager.
 

Additional Inherited Members

- Public Types inherited from SoBaseStereo
enum  StereoViewType {
  NO_STEREO_VIEW = 0 ,
  INTERLACED_STEREO = 1 ,
  HALF_SCREEN_STEREO = 2 ,
  RAW_STEREO = 3 ,
  OPENGL_STEREO = 3 ,
  ANAGLYPH_STEREO = 4 ,
  ANAGLYPH = 4 ,
  PASSIVE_STEREO = 6
}
 Stereo view types. More...
 

Detailed Description

VSG extension Class for OpenGL stereo support.

This class implements the OpenGL "quad buffered" stereo type. This requires a stereo accelerated graphics board.

SEE ALSO

SoStereoViewer, SoBaseStereo, SoWinViewer SoXtViewer SoQtViewer

Definition at line 49 of file SoRawStereo.h.

Constructor & Destructor Documentation

◆ SoRawStereo()

SoRawStereo::SoRawStereo ( SoStereoViewer stereoVwr = NULL,
SoGuiViewer guiViewer = NULL 
)

Constructor.

◆ ~SoRawStereo()

SoRawStereo::~SoRawStereo ( )

Destructor.

Member Function Documentation

◆ getStereoViewType()

virtual StereoViewType SoRawStereo::getStereoViewType ( )
virtual

Always returns SoBaseStereo::RAW_STEREO.

Implements SoBaseStereo.

◆ requireHardware()

virtual SbBool SoRawStereo::requireHardware ( )
virtual

Always returns TRUE.

Reimplemented from SoBaseStereo.


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