Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoPassiveStereo Class Reference

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

+ Inheritance diagram for SoPassiveStereo:

Public Member Functions

 SoPassiveStereo (SoStereoViewer *stereoVwr=NULL, SoGuiViewer *guiViewer=NULL)
 Constructor.
 
 ~SoPassiveStereo ()
 Destructor.
 
virtual void renderStereoView ()
 Renders the stereo view.
 
StereoViewType getStereoViewType ()
 Always returns SoBaseStereo::PASSIVE_STEREO.
 
- 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 SbBool canClearBeforeRender () const
 Queries ability to clear before rendering.
 
virtual SbBool requireHardware ()
 Returns true or false depending on the type of stereo buffering.
 
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

Definition at line 36 of file SoPassiveStereo.h.

Constructor & Destructor Documentation

◆ SoPassiveStereo()

SoPassiveStereo::SoPassiveStereo ( SoStereoViewer stereoVwr = NULL,
SoGuiViewer guiViewer = NULL 
)
inline

Constructor.

Definition at line 43 of file SoPassiveStereo.h.

◆ ~SoPassiveStereo()

SoPassiveStereo::~SoPassiveStereo ( )
inline

Destructor.

Definition at line 51 of file SoPassiveStereo.h.

Member Function Documentation

◆ getStereoViewType()

StereoViewType SoPassiveStereo::getStereoViewType ( )
inlinevirtual

Always returns SoBaseStereo::PASSIVE_STEREO.

Implements SoBaseStereo.

Definition at line 61 of file SoPassiveStereo.h.

◆ renderStereoView()

virtual void SoPassiveStereo::renderStereoView ( )
virtual

Renders the stereo view.

Reimplemented from SoBaseStereo.


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