Makes a stereo viewer behave like a monoscopic (non-stereo) viewer. More...
#include <Inventor/components/stereo/SoNoStereoView.h>
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. | |
SoStereoViewer * | getStereoViewer () |
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... | |
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.
SoStereoViewer, SoBaseStereo, SoWinViewer
Definition at line 46 of file SoNoStereoView.h.
|
inline |
Constructor.
Definition at line 52 of file SoNoStereoView.h.
|
inline |
Destructor.
Definition at line 60 of file SoNoStereoView.h.
|
inlinevirtual |
Always returns SoBaseStereo::NO_STEREO_VIEW.
Implements SoBaseStereo.
Definition at line 76 of file SoNoStereoView.h.
|
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.