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

VSG extension Makes a stereo viewer behave like a monoscopic (non-stereo) viewer. More...

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

+ Inheritance diagram for SoNoStereoView:

Public Member Functions

 SoNoStereoView (SoStereoViewer *stereoVwr=NULL, SoGuiViewer *guiViewer=NULL)
 Constructor.
 
 ~SoNoStereoView ()
 Destructor.
 
virtual void renderStereoView ()
 Renders the stereo view.
 
virtual StereoViewType getStereoViewType ()
 Always returns SoBaseStereo::NO_STEREO_VIEW.
 
- 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

VSG extension Makes a stereo viewer behave like a monoscopic (non-stereo) viewer.

SoNoStereoView makes a stereo viewer behave as if it were a monoscopic viewer. Modifying the stereo view technique has no effect.

SEE ALSO

SoStereoViewer, SoBaseStereo, SoWinViewer

Definition at line 46 of file SoNoStereoView.h.

Constructor & Destructor Documentation

◆ SoNoStereoView()

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

Constructor.

Definition at line 52 of file SoNoStereoView.h.

◆ ~SoNoStereoView()

SoNoStereoView::~SoNoStereoView ( )
inline

Destructor.

Definition at line 60 of file SoNoStereoView.h.

Member Function Documentation

◆ getStereoViewType()

virtual StereoViewType SoNoStereoView::getStereoViewType ( )
inlinevirtual

Always returns SoBaseStereo::NO_STEREO_VIEW.

Implements SoBaseStereo.

Definition at line 76 of file SoNoStereoView.h.

◆ renderStereoView()

virtual void SoNoStereoView::renderStereoView ( )
inlinevirtual

Renders the stereo view.

It calls the actualRendering method of the SoStereoViewer only once, without modifying any parameters, such as the camera.

Reimplemented from SoBaseStereo.

Definition at line 67 of file SoNoStereoView.h.


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